Forums / Templates, Stylesheets, Page Layout / Can I change product details in order confirmation email?

Can I change product details in order confirmation email?

Locked

Started by ducksigns on 27 Oct 2007, 7:47 PM · Views: 4,300

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
27 Oct 2007, 7:47 PM
#1
ducksigns avatar

ducksigns

New Zenner

Join Date:
Sep 2007
Location:
Columbus Indiana
Posts:
22
Plugin Contributions:
0

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!

Tim Lutz
This is starting to make sense (still a long way to go though...)
https://www.ducksigns.com/duckstore

27 Oct 2007, 10:06 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

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

ducksigns:

Is it possible to make the changes I'm looking for without changing order.php?No

ducksigns:

(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.

27 Oct 2007, 10:29 PM
#3
ducksigns avatar

ducksigns

New Zenner

Join Date:
Sep 2007
Location:
Columbus Indiana
Posts:
22
Plugin Contributions:
0

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

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

Tim Lutz
This is starting to make sense (still a long way to go though...)
https://www.ducksigns.com/duckstore