dor88keys Posted July 17, 2005 Share Posted July 17, 2005 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 More sharing options...
stevel Posted July 17, 2005 Share Posted July 17, 2005 admin/orders.php Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
BGSoyCandle Posted July 17, 2005 Share Posted July 17, 2005 I've found the above file, but I still have a question: When editing the emails, exactly WHERE does the added text go??? I'm very confused about this. Joyce Link to comment Share on other sites More sharing options...
stevel Posted July 17, 2005 Share Posted July 17, 2005 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. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.