Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order number in order conf. email subject line


luannvodder

Recommended Posts

Posted

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

Archived

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

×
×
  • Create New...