Results 1 to 4 of 4

body of order email confirmation message

This is a discussion on body of order email confirmation message within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; When an order is placed, the customer receives the same default email message that the store owner receives (see below). ...

      
  1. #1
    Active Member chrismole's Avatar
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    102
    Rep Power
    9


    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

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    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
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Oct 2004
    Posts
    6
    Rep Power
    0


    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
    Member nfmg's Avatar
    Join Date
    Oct 2003
    Location
    Montana
    Posts
    49
    Rep Power
    0


    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, 10: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, 11: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, 06: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, 05:50 AM

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
  •