MaryKH Posted February 19, 2005 Share Posted February 19, 2005 I would like to have the order number included in the subject line of the order emails, along with the "order process", can anybody point me in the right direction to do this? Link to comment Share on other sites More sharing options...
Guest Posted February 19, 2005 Share Posted February 19, 2005 Hi Mary, You're looking for the file catalog/checkout_process.php Find the following towards the end of the file: if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Change the code for the following: if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } $email_subject = EMAIL_TEXT_SUBJECT . ' ' . $insert_id; tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], $email_subject, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Then go to your catalog/includes/languages/english/checkout_process.php file and change the following line : define('EMAIL_TEXT_SUBJECT', 'Order Process'); to something like : define('EMAIL_TEXT_SUBJECT', 'Processing Order Number'); Hope this helps PhilipH Link to comment Share on other sites More sharing options...
rchilson Posted February 19, 2005 Share Posted February 19, 2005 I would like to have the order number included in the subject line of the order emails, along with the "order process", can anybody point me in the right direction to do this? <{POST_SNAPBACK}> Hello Mary, Here is a link to a thread that will help you accomplish what you are trying to do. Jared Call is responsible for this contribution and it was quite easy to make the changes. This link will also tell you how to put the order number in the update emails. Email Order Number Roy Roy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.