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

Thread: body of order email confirmation message

  1. #1
    chrismole
    Guest


    Default body of order email confirmation message

    When an order is placed, the customer receives the same default email message that the store owner receives (see below). This email is not customer-friendly (no thank you message, etc.) and contains a link to the secure admin, which of course, the customer cannot access and should not be in the email.

    Below is the email text I'm talking about. My question is, how can a more customer-friendly email be sent to the customer upon placing an order?

    My Store
    ------------------------------------------------------
    Order Number: 24
    Detailed Invoice:
    https://secure.myserver.com/catalog/...hp?order_id=24
    Date Ordered: Saturday 07 February, 2004

    Products
    ------------------------------------------------------
    1 widget = $239.99
    Color Black
    ------------------------------------------------------
    Sub-Total: $239.99
    United Parcel Service (2 x 48.4lbs) (Ground): $22.22
    Total: $262.21

    Delivery Address
    ------------------------------------------------------
    Firstname Lastname
    123 Main
    Chicago, IL 66666
    United States

    Billing Address
    ------------------------------------------------------
    Firstname Lastname
    123 Main
    Chicago, IL 66666
    United States

    Payment Method
    ------------------------------------------------------
    Credit Card

  2. #2
    osCMax Developer


    body of order email confirmation message


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

    Read: http://oscdox.com/modules.php?op=mod...CustomPurchase

    I think that is what you are looking for. It does still apply to MS2-MAX

  3. #3
    mrrob
    Guest


    Default

    It would be great if someone could write better instructions geared for a newbie on how to modify the order email as I am sure many store owners want to put there own custom message in - Like thank you for your order!

  4. #4
    nfmg
    Guest


    Default

    I am going to change the text of the customer order confirmation email.

    At about line 292 of catalog/checkout_process.php

    Code:
    // lets start with the email confirmation
    $email_order = STORE_NAME . "\n" .
    EMAIL_SEPARATOR . "\n" .
    EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
    //nfmg edit I added the next line to add text to customer order email
    EMAIL_TEXT_NOTE . "\n" .
    EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
    EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";
    then, in includes/languages/english/checkout_process.php line 16

    Code:
    define('EMAIL_TEXT_SUBJECT', 'Order Process');
    define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
    define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
    //nfmg edit I added the next line so that folks could find their downloads more easily later
    define('EMAIL_TEXT_NOTE', 'Note: your downloads, if any, are also available at the following link');
    define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
    define('EMAIL_TEXT_PRODUCTS', 'Products');
    define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');
    define('EMAIL_TEXT_TAX', 'Tax: ');
    Then you end up with a customer order email that looks like this:

    ItsaDoozy Kite Store
    ------------------------------------------------------
    Order Number: 207
    Note: your downloads, if any, are also available at the following link
    Detailed Invoice: https://www.itsadoozy.net/catalog/ac...p?order_id=207
    Date Ordered: Thursday 09 June, 2005


    It worked for me. I don't know if it's the approved way to do this. Your mileage may vary...

Similar Threads

  1. email confirmation order
    By valandre64 in forum osCmax v2 Installation issues
    Replies: 2
    Last Post: 07-23-2006, 09:51 PM
  2. Email Order Confirmation - Pound Sign not appearing
    By welby in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 06-03-2006, 10:50 AM
  3. Product attributes not showing in order confirmation email
    By melfalcon15 in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-25-2005, 05:03 AM
  4. order confirmation email incomplete
    By evileddie in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 04-02-2005, 07:24 PM
  5. Order confirmation email?
    By peter in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-19-2003, 04:50 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
  •