Forums / Templates, Stylesheets, Page Layout / Order confirmation mail includes junk info? Please help.

Order confirmation mail includes junk info? Please help.

Locked

Views: 1,042

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Mar 2009, 12:45 PM
#1
cleasterwood avatar

cleasterwood

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

Order confirmation mail includes junk info? Please help.

Hi,
I'm working in Zen-Cart 1.3.8 & my confirmation emails look horrid. Could someone please direct me as to how to get these none relevant items from being emailed with orders confirmations.
I have emails set to HTML & PHP. Will using MIME HTML fix that? If not, how do I fix it?
Thanks,
Lynn

Subject: EMAIL_TEXT_SUBJECTEMAIL_ORDER_NUMBER_SUBJECT26

EMAIL_TEXT_HEADEREMAIL_TEXT_FROM3-D Fineries

Dana Anderson

EMAIL_THANKS_FOR_SHOPPING
EMAIL_DETAILS_FOLLOW
EMAIL_SEPARATOR
EMAIL_TEXT_ORDER_NUMBER 26
EMAIL_TEXT_DATE_ORDERED Monday 09 March, 2009
EMAIL_TEXT_INVOICE_URL
http://3dfineries.com/...

EMAIL_TEXT_PRODUCTS
EMAIL_SEPARATOR
1 x M4 Basic Shirt & Shorts = $0.00
download zip file
EMAIL_SEPARATOR
Sub-Total: $0.00
Free Shipping: $0.00
Total: $0.00

EMAIL_TEXT_BILLING_ADDRESS
EMAIL_SEPARATOR
Dana Anderson
91 Morrison Rd.
East Taunton, MA 02718
United States

EMAIL_TEXT_PAYMENT_METHOD
EMAIL_SEPARATOR
The Zen Cart FREE CHARGE CARD

Used with purchases via Free Charge

10 Mar 2009, 12:56 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Order confirmation mail includes junk info? Please help.

You (or someone else) has incorrectly edited includes/languages/english/YOUR_TEMPLATE/checkout_process.php (or includes/languages/english/checkout_process.php) which is causing this.

All the "junk" you see are constants which are defined in checkout_process.php.

Here's a snippet of checkout_process.php from 1.3.8a that I have unzipped on my computer so you see what those values should be.

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

If you don't have includes/languages/english/checkout_process.php on your site, download a copy of Zen Cart, unzip it on your local drive (your computer) and FTP that single file to your site.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

11 Mar 2009, 5:21 PM
#3
cleasterwood avatar

cleasterwood

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

Re: Order confirmation mail includes junk info? Please help.

Thank you so much! I'll give it a shot & let you know.

11 Mar 2009, 6:07 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Order confirmation mail includes junk info? Please help.

If you want to change any of the default values, don't forget to use the override system and save your changes to includes/languages/english/YOUR_TEMPLATE/checkout_process.php

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey