s9393 Posted March 26, 2008 Posted March 26, 2008 When I log into the admin panel and place an order for one of my customers I would like it to send an e-mail to an address that I use to collect all data from my site. I've enabled 'send extra e-mails' in the config panel but when an order is placed from within the admin panel it sends nothing except to the customer if the checkbox is checked to do so. If anyone has any info on this I would very much appreciate it. Thank you all you are all very helpful folks :D S9393
Guest Posted March 26, 2008 Posted March 26, 2008 There is code in catalog/checkout_process.php that sends the extra email // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Try adding that to the admin on whatever page you are sending it from. It should be just below the part that sends the email to the customer.
s9393 Posted March 26, 2008 Author Posted March 26, 2008 Just to see if I'm understanding right I should add the code you've provided above to whatever .PHP page within the admin panel that I use to submit the order to the database. Is that correct or am I missing somehting. Thanks for the quick response, s9393
Recommended Posts
Archived
This topic is now archived and is closed to further replies.