robsavino Posted April 19, 2007 Posted April 19, 2007 Why does my emails look like this? What can I do to fix it? Rob C.J. Victoria Fishing Charters and Rod Building EMAIL_SEPARATOR EMAIL_TEXT_ORDER_NUMBER 10 EMAIL_TEXT_INVOICE_URL http://www.cjvictoria.com/catalog/account_...php?order_id=10 EMAIL_TEXT_DATE_ORDERED Thursday 19 April, 2007 EMAIL_TEXT_PRODUCTS EMAIL_SEPARATOR 1 x C.J. Victoria Sweat Shirt () = $24.00 EMAIL_SEPARATOR Sub-Total: $24.00 Flat Rate (Best Way): $5.00 Total: $29.00 EMAIL_TEXT_DELIVERY_ADDRESS EMAIL_SEPARATOR robert Savino 198 Cottage Park Rd Winthrop, MA 02152 United States EMAIL_TEXT_BILLING_ADDRESS EMAIL_SEPARATOR robert Savino 198 Cottage Park Rd Winthrop, MA 02152 United States EMAIL_TEXT_PAYMENT_METHOD EMAIL_SEPARATOR Cash on Delivery
robsavino Posted April 20, 2007 Author Posted April 20, 2007 Does anyone know why the emails look like this? Is it editing? How do I edit it? Rob
oschellas Posted April 20, 2007 Posted April 20, 2007 Normally it is defined in the includes/languages/english/checkout_process.php Yours seems to be empty, upload this file again from an original oscommerce source
rrrhythm Posted April 20, 2007 Posted April 20, 2007 the short answer to why, is that the variables (the things in all caps) are undefined. they should be defined in /includes/languages/english/checkout_process.php, i believe. for example, open that file and add the following line: define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method'); you can make the red bit within the second set of quotes read whatever you like. my entire file for /includes/languages/english/checkout_process.php is this: <?php /* $Id: checkout_process.php,v 1.26 2002/11/01 04:22:05 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('EMAIL_TEXT_SUBJECT', 'Order Process'); define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:'); define('EMAIL_TEXT_INVOICE_URL', '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'); ?>
robsavino Posted April 20, 2007 Author Posted April 20, 2007 Thank you. You guys got it exactly correct. I couldn't figure out why that file was empty. It was a problem uploading it. Rob
Recommended Posts
Archived
This topic is now archived and is closed to further replies.