Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how can i change text of update email ?


dor88keys

Recommended Posts

hi everyone,

 

im looking for the .php file where i can change the update email that osc sends, which looks like this:

 

store name

------------------------------------------------------

Order Number: 3

Detailed Invoice: /catalog/account_history_info.php?order_id=3

Date Ordered: Tuesday 12 July, 2005

 

The comments for your order are

 

sorry but the size you requested is not in stock,

pls let us know if you prefer to choose another color or prefer a refund?

 

 

 

Your order has been updated to the following status.

 

New status: Pending

 

Please reply to this email if you have any questions.

 

 

---------------------------------------------

would appreciate your help,

 

dor88keys

Link to comment
Share on other sites

I don't understand the question. What do you want to change?

 

When you update the order, the text of the message is built on this line (around line 50 in orders.php):

            $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]);

The text comes from the various EMAIL_xxx defines in admin/includes/languages/english/orders.php. If you just want to adjust wording, then change those defines. If you want to make more serious changes to the message, then you have code editing to do. In my store, for example, I have it send out HTML e-mail (with text as an alternate.) It took a bit of fiddling and head-scratching to make this work, as the stock osC support for HTML e-mails is broken.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...