Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Adding Data To Order Confirmation Email

    Is it possible to add a line to the order confirmation email?
    For example the email starts out like this:
    Code:
    Order Confirmation from sicassracing.com
    
    TEST CUSTOMER
    
    Thanks for shopping with us today!
    The following are the details of your order.
    ------------------------------------------------------
    Order Number: 3045
    Date Ordered: Thursday 30 August, 2012
    Detailed Invoice:
    I would like for it to read as follows for some orders using something like this check:
    Code:
    if ($_SESSION['customer_whole'] && $_SESSION['customer_whole'] != '0' ) { echo "DEALER ORDER"; }
    Code:
    Order Confirmation from sicassracing.com
    
    DEALER ORDER
    
    TEST CUSTOMER
    
    Thanks for shopping with us today!
    The following are the details of your order.
    ------------------------------------------------------
    Order Number: 3045
    Date Ordered: Thursday 30 August, 2012
    Detailed Invoice:
    Not sure where to place the check to make this happen.
    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Adding Data To Order Confirmation Email

    /includes/classes/order.php
    See the send-order-email function
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2010
    Location
    Hartland, MI
    Posts
    303
    Plugin Contributions
    3

    Default Re: Adding Data To Order Confirmation Email

    I'll give it a test tomorrow, Thanks again!

 

 

Similar Threads

  1. Adding Manufacture to Order Confirmation Email
    By Beau91324 in forum General Questions
    Replies: 13
    Last Post: 27 Jun 2013, 11:28 AM
  2. Adding Information to Order Confirmation Email
    By solarguy in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2010, 04:52 AM
  3. Adding a part number to order email confirmation
    By PureEffort in forum General Questions
    Replies: 8
    Last Post: 7 Oct 2010, 06:02 AM
  4. Order Confirmation Email Data
    By net3431 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 12 Jun 2009, 06:00 AM
  5. Replies: 4
    Last Post: 9 Jun 2009, 08:17 PM

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