Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit the Subject of the Order Status Emails that are sent out


jonesevan007

Recommended Posts

Hey guys,

 

How would I go about adding on the Updated Order Status variable after "Order Process" in the subject line of all the auto-emails I send out after updating a customer's order status.

 

Also I have another small issue where a "%s" always appears in the order comments section of emails when they're in a customer's inbox. I don't know what's creating this or if its an undefined variable, where I would find it.

 

Thanks a bundle :P

Link to comment
Share on other sites

This is what my admin/includes/languages/english/orders file looks like if it helps

 

define('EMAIL_SEPARATOR', '------------------------------------------------------');
define('EMAIL_TEXT_SUBJECT', 'Order Update');
define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
define('EMAIL_TEXT_STATUS_UPDATE', 'Your order has been updated to the following status.' . "\n\n" . 'New status: %s' . "\n\n" . 'Please reply to this email if you have any questions.' . "\n");
define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");

Link to comment
Share on other sites

  • 1 month later...

where you able to figure out how to do this? i am having the same problem though i would like to add the order number into the subject line..

 

and i can see why you are getting the "%s" in your email.. take a look at the line you submted

 

define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");

 

you should try taking out the %s in that line and see if it works

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...