iecwillow Posted August 2, 2006 Posted August 2, 2006 I'm working in warehouse and taking care of the order shipping. Everytime when I fulfilled an order, I need send my partner the email notification manually via the new status of the order. I wonder if I can send the email to my partner automaticlly at the same time as I change the order status and notify the customers. Thank you in advance.
brianstorm Posted August 2, 2006 Posted August 2, 2006 try adding it in the configuration table (duplicate the sesnd extra order emails to) - it may work, i think i have 2 setup... with ten thousand dollars we'll all be millionaires
♥Monika in Germany Posted August 2, 2006 Posted August 2, 2006 admin, orders.php line 52 you send the email to the customer: tep_mail($check_status['customers_name'], $check_status['customers_email_address'], EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); add a second row below it, using your partners name and email addy tep_mail('yourpartner-name', 'yourpartner-email_address', EMAIL_TEXT_SUBJECT, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...
iecwillow Posted August 3, 2006 Author Posted August 3, 2006 Thank you! Works great and save me a lot of time. Is it possible to add the order number shows in email subject? I tried the following code without lucky: $new_mail_subject = EMAIL_TEXT_SUBJECT . ' - ' . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n"; tep_mail($check_status['customers_name'], $check_status['customers_email_address'], $new_mail_subject, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); tep_mail('mypartner-name', 'mypartner-email', $new_mail_subject, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
iecwillow Posted August 3, 2006 Author Posted August 3, 2006 I changed the code to: $new_mail_subject = EMAIL_TEXT_SUBJECT . ' - ' . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n"; tep_mail($check_status['customers_name'], $check_status['customers_email_address'], $new_mail_subject, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); tep_mail('mypartner-name', 'mypartner-email', $new_mail_subject, $email, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Now the order number show....
Recommended Posts
Archived
This topic is now archived and is closed to further replies.