Strange Confirmation Email all of a sudden
Everything was looking great but all of a sudden confirmation emails that we get look like this
EMAIL_TEXT_HEADER Forgiven Jewelry
Megan Kruse,
EMAIL_THANKS_FOR_SHOPPING
EMAIL_DETAILS_FOLLOW
EMAIL_TEXT_ORDER_NUMBER 163
EMAIL_TEXT_DATE_ORDERED Friday 07 November, 2008
EMAIL_TEXT_INVOICE_URL_CLICK
EMAIL_TEXT_PRODUCTS
Order info looks okay but not the headings.
Re: Strange Confirmation Email all of a sudden
Sounds like the e-mail Language file is missing - make sure
includes/languages/english/checkout_process.php
is present and the same as the original.
should look something like :-
PHP Code:
define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');
define('EMAIL_TEXT_HEADER', 'Order Confirmation');
define('EMAIL_TEXT_FROM',' from '); //added to the EMAIL_TEXT_HEADER, above on text-only emails
define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!');
define('EMAIL_DETAILS_FOLLOW','The following are the details of your order.');
define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
define('EMAIL_TEXT_INVOICE_URL_CLICK', 'Click here for a Detailed Invoice');
define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
define('EMAIL_TEXT_PRODUCTS', 'Products');
define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');
define('EMAIL_TEXT_TAX', 'Tax: ');
define('EMAIL_TEXT_SHIPPING', 'Shipping: ');
define('EMAIL_TEXT_TOTAL', 'Total: ');
define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');
define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');
define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');
define('EMAIL_SEPARATOR', '------------------------------------------------------');
define('TEXT_EMAIL_VIA', 'via');
// suggest not using # vs No as some spamm protection block emails with these subjects
define('EMAIL_ORDER_NUMBER_SUBJECT', ' No: ');
define('HEADING_ADDRESS_INFORMATION','Address Information');
define('HEADING_SHIPPING_METHOD','Shipping Method');
?>
Re: Strange Confirmation Email all of a sudden
The checkout_process.php was all jumbled which happens sometimes when using FileZilla/notepad to edit files. Do you suppose that would cause it?
Re: Strange Confirmation Email all of a sudden
Not known filezilla and notepad doing that , I use dreamweaver which I sometimes blame for that . but corruption can occur over FTP on the odd occasion. Best bet is to grab that file from the original 1.3.8a zip file and re upload it.
Good luck
Re: Strange Confirmation Email all of a sudden
Sometimes an FTP client (like Filezilla) will strip out the line breaks which will make the content look jumbled in Notepad, but that shouldn't make any difference.
Re: Strange Confirmation Email all of a sudden
I uploaded a copy of the file and hopefully that will fix it. It just started happening all of a sudden so it was kind of strange. Thanks.
Re: Strange Confirmation Email all of a sudden
If I have $EMAIL_DETAILS_FOLLOW in my emails what must I do to fix this. I had a look at the checkout_process.php file and do not see anything wrong with it. Where can I start to fix this?
Re: Strange Confirmation Email all of a sudden
When a CONSTANT displays in a broswer, it usually means a bad (incorrect) edit, or a missing php file - often a language file, but not always.
Use ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT to search for text strings in the php files.
In your case, look for:
$EMAIL_DETAILS_FOLLOW
you will find the file in which it appears, and you'll be able to see what's wrong there and fix it.