osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How to add cust phone # & other to Order Process Email

This is a discussion on How to add cust phone # & other to Order Process Email within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; How do I add the following items to the Order Process Email generated by Checkout_process.php: Customer's phone number Customer's email ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-30-2004, 10:45 PM
New Member
 
Join Date: Nov 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gameparts
Default How to add cust phone # & other to Order Process Email

How do I add the following items to the Order Process Email generated by Checkout_process.php:

Customer's phone number
Customer's email address

I think I know where to put it, I just don't know what code to use.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-14-2005, 09:59 AM
New Member
 
Join Date: Nov 2004
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gameparts
Default RE: How to add cust phone # & other to Order Process Ema

Once again, I found my own answer on another support page. Why is it that no one here knows the answers?

Anyway, here is how to add customer email and phone number to the confirmation email:

My solution is:

\catalog\checkout_process.php orig.

CODE

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";
}




\catalog\checkout_process.php modif.

CODE
if ($order->content_type != 'virtual') {
$email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" .
EMAIL_SEPARATOR . "\n" .
EMAIL_TEXT_MAIL . $order->customer['email_address'] . "\n" .
EMAIL_SEPARATOR . "\n" .
tep_address_label($customer_id, $sendto, 0, '', "\n") .
EMAIL_TEXT_PHONE . $order->customer['telephone']. "\n";
}




In more, the following lines, must be added

\catalog\includes\languages\(your language)\checkout_process.php

CODE
define('EMAIL_TEXT_MAIL', 'Email: ');
define('EMAIL_TEXT_PHONE', 'Telefono: ');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Email Order process problem ... prasetiohadi osCMax v2 Installation issues 0 11-27-2006 01:56 AM
how do we include phone number in the order email? chuan osCMax v2 Customization/Mods 2 10-16-2006 12:43 AM
order process email issue JohnW osCMax v2 Features Discussion 2 01-06-2006 07:39 PM
Help! How do we Modify Admin & Cust. Order Welcome Email mrrob osCommerce 2.2 Modification Help 3 02-05-2005 12:32 PM
Customizing the Order Process email... ReginaStelling osCommerce 2.2 Modification Help 1 08-12-2004 06:36 AM


All times are GMT -8. The time now is 11:24 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax