Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 2 of 2

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

  1. #1
    gameparts
    Guest


    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!

  2. #2
    gameparts
    Guest


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

Similar Threads

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

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •