Totally Zenned
- Join Date:
- Jun 2007
- Location:
- Bronx, New York, United States
- Posts:
- 948
- Plugin Contributions:
- 3
Plain Text Order confirmation email not reading $email_order or is ignoring it.
Using v1.5.2, I'm running into the following problem.
I went ahead and made the following changes to $email_order in /includes/classes/order.php and for some reason they aren't being reflected in the plain text version of the emails. Anyone have an idea on where I'm supposed to edit the email's plain text version at? Specifically the formatting o the strftime of the date ordered line, the "Hello," string on the second line, as well as the others. (Note: The non-standard DEFINES are in-fact defined in other parts of the code.
$email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
"Hello, " . $this->customer['firstname'] . ' ' . $this->customer['lastname'] . ",\n\n" .
EMAIL_THANKS_FOR_SHOPPING . "\n" . EMAIL_DETAILS_FOLLOW . "\n\n" .
EMAIL_THANK_YOU_SIGNATURE . "\n" . STORE_NAME . "\n" .
EMAIL_SEPARATOR . "\n" .
EMAIL_TEXT_ORDER_NUMBER . ' ' . $zf_insert_id . "\n" .
EMAIL_TEXT_DATE_ORDERED . ' ' . strftime("%B %d, %Y @ %I:%M:%S %p %Z") . "\n\n" .
EMAIL_TEXT_INVOICE_URL . ' ' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $zf_insert_id, 'SSL', false) . "\n\n";