Guest Posted December 31, 2005 Share Posted December 31, 2005 The title says it all...I want to add more email recipients besides the client, say the store owner or other departments. Preferably from a drop down like the pending/processing/delivered drop down. But I'll settle for the store owner getting a copy. Thanks! Mike Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2006 Share Posted January 1, 2006 The title says it all...I want to add more email recipients besides the client, say the store owner or other departments. Preferably from a drop down like the pending/processing/delivered drop down. But I'll settle for the store owner getting a copy. Thanks! Mike Well, to answer my own question, in admin/orders.php I added if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } just after tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); now additional emails added in the store config will get the order update. Not exactly what I was looking for, but it's a start. Link to comment Share on other sites More sharing options...
Guest Posted January 1, 2006 Share Posted January 1, 2006 Well, to answer my own question, in admin/orders.php I added if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } just after tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); now additional emails added in the store config will get the order update. Not exactly what I was looking for, but it's a start. AND to send a copy to admin only: if (STORE_OWNER_EMAIL_ADDRESS != '') { tep_mail('', STORE_OWNER_EMAIL_ADDRESS, EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } case closed. (Pat myself on the back) :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.