luannvodder Posted April 19, 2007 Posted April 19, 2007 This is so weird. I found info on this forum for adding the order number to the subject line of the order confirmation emails. I did that, and it worked great for a couple of orders. Now all orders are coming through with the old format (i.e., the words "Order Confirmation", which I had changed from "Order Process"). Here's my code -- I don't see why it stopped working and is using a commented out format: // 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); $email_order= $order->customer['firstname'] . ' ' . $order->customer['lastname'] . "\n" . 'Telephone: ' . $order->customer['telephone'] . "\n" . $order->customer['email_address'] . "\n\n" . $email_order; tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, 'NEW - ' . EMAIL_TEXT_SUBJECT . ' #' . $insert_id, nl2br($email_order), STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, ''); } Ideas? thanks! Luann
luannvodder Posted April 19, 2007 Author Posted April 19, 2007 Sorry, meant to say that this code is in /catalog/checkout_process.php.
luannvodder Posted April 20, 2007 Author Posted April 20, 2007 Problem solved: I think the info or contribution I had used previously was incomplete. I just implemented another contribution and it worked great. http://www.oscommerce.com/community/contri.../search,subject thanks, Luann
Recommended Posts
Archived
This topic is now archived and is closed to further replies.