Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order number in email header


cmjennings21

Recommended Posts

Does anyone know how I can include the order number in the order update emails. Having this would help me loads as I keep a copy of the order process email but they all look the same in my emailfolder. Any help or advise would be appreciated.

 

CJ

 

Try opening up checkout_process.php

 

Find ..

 

// 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);
 }

 

Change to ..

 

$subject = 'Order id: ' . $insert_id . ' - ' . EMAIL_TEXT_SUBJECT;
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, $subject, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

Link to comment
Share on other sites

Try opening up checkout_process.php

 

Find ..

 

// 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);
 }

 

Change to ..

 

$subject = 'Order id: ' . $insert_id . ' - ' . EMAIL_TEXT_SUBJECT;
// send emails to other people
 if (SEND_EXTRA_ORDER_EMAILS_TO != '') {
tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, $subject, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
 }

 

Thank you very much, I'll give it a g and feed back on how I get on

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...