Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2006
    Location
    West of Ireland
    Posts
    174
    Plugin Contributions
    0

    Default add custom text to order confirmation email

    How can I add some custom text to the order confirmation email?

    I have:
    "Thanks for shopping with us today!
    The following are the details of your order."

    [FONT=Verdana]I need:

    "[/FONT]Thanks for shopping with us today!
    Please note, that as specified on the website, some deliveries may take up to 10 days.
    The following are the details of your order."

    [FONT=Verdana]Any Clues?[/FONT]

  2. #2
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: add custom text to order confirmation email

    Hello,
    To change that bit of text you will need to go to /includes/languages/english/checkout_process.php on around line 27.

    Make sure to use the override system.
    Zen-Cart, The Greatest Shopping Cart!

  3. #3
    Join Date
    Sep 2006
    Location
    West of Ireland
    Posts
    174
    Plugin Contributions
    0

    Default Re: add custom text to order confirmation email

    Kinda was thinking that. here's whats in that file, Check line 5 with the stars:

    define('EMAIL_TEXT_SUBJECT', 'Order Confirmation');
    define('EMAIL_TEXT_HEADER', 'Order Confirmation');
    define('EMAIL_TEXT_FROM',' from '); //added to the EMAIL_TEXT_HEADER, above on text-only emails
    define('EMAIL_THANKS_FOR_SHOPPING','Thanks for shopping with us today!');
    ****CAN I JUST START TYPING IN MY TEXT HERE??******
    define('EMAIL_DETAILS_FOLLOW','The following are the details of your order.');
    define('EMAIL_TEXT_ORDER_NUMBER', 'Order Number:');
    define('EMAIL_TEXT_INVOICE_URL', 'Detailed Invoice:');
    define('EMAIL_TEXT_INVOICE_URL_CLICK', 'Click here for a Detailed Invoice');
    define('EMAIL_TEXT_DATE_ORDERED', 'Date Ordered:');
    define('EMAIL_TEXT_PRODUCTS', 'Products');
    define('EMAIL_TEXT_SUBTOTAL', 'Sub-Total:');
    define('EMAIL_TEXT_TAX', 'Tax: ');
    define('EMAIL_TEXT_SHIPPING', 'Shipping: ');
    define('EMAIL_TEXT_TOTAL', 'Total: ');
    define('EMAIL_TEXT_DELIVERY_ADDRESS', 'Delivery Address');
    define('EMAIL_TEXT_BILLING_ADDRESS', 'Billing Address');
    define('EMAIL_TEXT_PAYMENT_METHOD', 'Payment Method');

    Or do I need to set up a define? how do I do that?

  4. #4
    Join Date
    May 2006
    Location
    Texas
    Posts
    565
    Plugin Contributions
    4

    Default Re: add custom text to order confirmation email

    change this line:

    define('EMAIL_DETAILS_FOLLOW','The following are the details of your order.');

    to

    define('EMAIL_DETAILS_FOLLOW','Please note, that as specified on the website, some deliveries may take up to 10 days. \nThe following are the details of your order.');

    *pretty sure* that would work.. not 100% positive though

  5. #5
    Join Date
    Sep 2006
    Location
    West of Ireland
    Posts
    174
    Plugin Contributions
    0

    Default Re: add custom text to order confirmation email

    Just to say thanks, that worked a treat.

    the \n didn't seem to work though, nor <br />.
    Anyone now how to "newline" inside define statements?

  6. #6
    Join Date
    Aug 2007
    Location
    Eugene, OR
    Posts
    162
    Plugin Contributions
    0

    Default Re: add custom text to order confirmation email

    Quote Originally Posted by samad64 View Post
    change this line:

    define('EMAIL_DETAILS_FOLLOW','Please note, that as specified on the website, some deliveries may take up to 10 days. \nThe following are the details of your order.');
    Use this...

    define('EMAIL_DETAILS_FOLLOW','Please note, that as specified on the website, some deliveries may take up to 10 days. ' . "\n" .'The following are the details of your order.');

 

 

Similar Threads

  1. v139h Add text to Order Confirmation emails (Text email only)
    By gsh68 in forum General Questions
    Replies: 6
    Last Post: 19 Sep 2012, 10:47 AM
  2. Add Logo and Some Text in Order Confirmation Email
    By monty_burns in forum Managing Customers and Orders
    Replies: 6
    Last Post: 1 Jun 2012, 03:07 PM
  3. Custom Order Confirmation Email
    By eazy in forum Basic Configuration
    Replies: 4
    Last Post: 12 Feb 2011, 07:32 AM
  4. Custom text in order confirmation email
    By apovey in forum Managing Customers and Orders
    Replies: 1
    Last Post: 17 Sep 2010, 02:05 AM
  5. Add text in Order Confirmation email?
    By thobby in forum General Questions
    Replies: 0
    Last Post: 7 Sep 2008, 05:02 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR