Flyer5 Posted October 1, 2005 Posted October 1, 2005 Hello. One of my clients said he would like the customers phone number in the notification e mail, preferably so it was easy to spot. I thought others may find it useful, and it's easy to add. Step 1. -------- Backup the following 2 files-> catalog/checkout_process.php catalog/includes/languages/english/checkout_process.php Next In file catalog/checkout_process.php Find; if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } And Replace with; if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_TELEPHONE . $order->customer['telephone'] . "\n" . EMAIL_SEPARATOR . "\n"; } Step 2 ------- In catalog/includes/languages/english/checkout_process.php add define('EMAIL_TEXT_TELEPHONE', 'Customers Contact Number:'); >END Thats it! 2 steps and its done! F5 :D
denisimo Posted November 13, 2008 Posted November 13, 2008 how would the code look like in rc2.2 ? and how to add customer's email address....anyone??? PLEASE
germ Posted November 13, 2008 Posted November 13, 2008 This may help: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.