Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Editing the automatic email responses to customers


Guest

Recommended Posts

Hi all,

 

I wanted to be able to edit the automatic email response that got sent to a client who has made a purchase on my site.

Someone advised that the file to edit is includes/languages/english/checkout_process.php and they were right.

 

As you know, after the "Order Number", you can see "Detailed Invoice:" and the link to the customer's order information.

I wanted to change the wording "Detailed Invoice" to let's say, "Order Info", so I changed

define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');

to

define('EMAIL_TEXT_INVOICE_URL', 'Order Info:');

 

However, I've found out that when I change the status of the order to Processing (for example) through admin, the new email that got sent out still showed "Detailed Invoice", not "Order Info". I changed the status to Delivered... same thing.

 

Any ideas?

 

Thanks in advance.

Link to comment
Share on other sites

Would love some help with this. Let me know if I wasn't making myself clear. I'll try and explain it a more and fingers crossed it makes perfect sense for someone out there :)

Link to comment
Share on other sites

/admin/includes/languages/english/orders.php

 

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");

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...