Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Columbus Indiana
    Posts
    32
    Plugin Contributions
    0

    Default Can I change product details in order confirmation email?

    Is it possible to modify the layout of the product details in a confirmation email? The text from the product detail section of the confirmation email is below - this is for an item with a text attribute "Pet's Name" and a file upload attribute "Picture:".

    Products
    1 x Medium Food Bowl
    With your pet's name and picture! (PDM2) Pet's Name scout Picture: 2. Sample_Pic_18.jpg $17.00
    ---------
    Sub-Total: $17.00
    Per Item (Best Way): $2.50
    Total: $19.50


    There are several things I'd like to change:

    Attributes listed one per line (some products will have up to four text attitubtes plus a file upload - it will be messy if they're all on one line)

    Attribute text not small or italic

    Only picture name shown, not picture number
    (i.e. Picture: Sample_Pic_18.jpg, not Picture: 2. Sample_pic_18.jpg)

    Don't show the model number (or place it before the product name)

    I've modified \email\email_template_checkout_html (after backing up the original), but the details of this are all contained in $PRODUCT_DETAILS, which appears to be defined in \includes\classes\order.php along with the css styles for everything in this field. Is it possible to make the changes I'm looking for without changing order.php? (I don't think I can override order.php, can I?)

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Can I change product details in order confirmation email?

    Quote Originally Posted by ducksigns View Post
    Is it possible to make the changes I'm looking for without changing order.php?
    No

    Quote Originally Posted by ducksigns View Post
    (I don't think I can override order.php, can I?)
    Correct.
    .

    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
    Sep 2007
    Location
    Columbus Indiana
    Posts
    32
    Plugin Contributions
    0

    Default Re: Can I change product details in order confirmation email?

    OK - That's what I thought the answer was, but wasn't sure. Thanks

 

 

Similar Threads

  1. v138a Modify Product Details in order confirmation email
    By WilpackPackaging in forum General Questions
    Replies: 3
    Last Post: 6 Jan 2015, 10:57 PM
  2. Order processed, but no confirmation email & no details on admin (Paypal IPN)
    By garou in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Feb 2010, 09:36 AM
  3. Order Confirmation Email - I want to add more details
    By shaza in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Aug 2009, 02:52 AM
  4. change order confirmation email product details
    By stormieau in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Apr 2009, 09:03 PM
  5. Bank Details on Order Confirmation Email
    By Mike_Dean in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 19 Sep 2008, 04:54 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