Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email Subject ID


clearsitewww

Recommended Posts

All our order notifications come through with the static default Subject "Order Process". We'd really like to have the Order Number (or even + client name) as the subect to make sorting thoug hmail much easier. Has anyone found a way to make something like this happen?

Link to comment
Share on other sites

Hi

I have been doing the same thing,

I wanted the products model and order No to show in subject of extra emails,

I got the order id to work thanks to lindas contrib, this is the code I use for order ID in catalog/checkout_process near the bottom

 

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

///notice EMAIL_TEXT_SUBJECT . $insert_id,

I hope this helps as I have been helped,

 

If you edit

catalog/includes/languages/english/checkout_process

 

about line 13

 

find

define('EMAIL_TEXT_SUBJECT', 'put your text here');

 

change 'put your text here' with what you want in your subject, IE order#

 

subject will then display

 

order#123 but it will show in all your order confirmation emails.

 

 

PS

if anyone can advise how to replace order# with product_model without hardcoding like this , I would appreciate it.

regards

Ian

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...