If this is your first visit, check our documentation. To post, register or login.

Customizing Order Confirmation Emails

Started by swilliams88 on 20 Aug 2012, 1:56 PM · Views: 1,077

Results 1 to 4 of 4
20 Aug 2012, 1:56 PM
#1
swilliams88 avatar

swilliams88

New Zenner

Join Date:
Apr 2010
Posts:
39
Plugin Contributions:
0

Customizing Order Confirmation Emails

With the release of the newer version of Zen Cart (I am currently still using 1.3.9), is there an easy way to customize the order confirmation emails? I cannot seem to get the text version to display as simply as I would like it to, as almost every product we have has attributes and then with the Advanced Shipping Module it appears to be a bumbling mess at first glance. This is creating havoc in our CS dept to sort out, as they go by the emails rather than the back-end of the site.

In addition, I think it is overwhelming for customers to view it the way they do. While it does appear "nicer" with the HTML, I would rather stick with the text version because everyone can receive that version.

I have attached a screenshot of one of our "complicated" orders that has attributes and multiple shipping methods. Any suggestion on how we could simplify it would be greatly appreciated.

Attachment 10999

20 Aug 2012, 7:30 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Customizing Order Confirmation Emails

So, how exactly would you want all this detailed content to be presented differently? If you could change it, what would you do to it?

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

20 Aug 2012, 7:34 PM
#3
swilliams88 avatar

swilliams88

New Zenner

Join Date:
Apr 2010
Posts:
39
Plugin Contributions:
0

Re: Customizing Order Confirmation Emails

DrByte:

So, how exactly would you want all this detailed content to be presented differently? If you could change it, what would you do to it?

I would:

Under products remove the option name (i.e. Cup Brush Quantity) and leave the option value (i.e. Quantity: 2)

In the totals I would move the : $50.00 up to beside Shipping and Under Sub-Total and shift the Shipping Methods to below

I would remove the qty X from the Shipping method as well as the Attributes' option name and value, leaving only the Method (i.e. Air Courier - Next Day Delivery), cost (i.e. $30.00), and Product Name (i.e. TrueLine Standard)

20 Aug 2012, 7:52 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Customizing Order Confirmation Emails

swilliams88:

Under products remove the option name (i.e. Cup Brush Quantity) and leave the option value (i.e. Quantity: 2)To do that, simply edit the /includes/classes/order.php file in the create_add_products() function where it builds the table of data being output. Do it in both the text-only and html lines.
swilliams88:

In the totals I would move the : $50.00 up to beside Shipping and Under Sub-Total and shift the Shipping Methods to below

I would remove the qty X from the Shipping method as well as the Attributes' option name and value, leaving only the Method (i.e. Air Courier - Next Day Delivery), cost (i.e. $30.00), and Product Name (i.e. TrueLine Standard)
All of the extra information between the "Shipping" title and the "$50.00" price is almost certainly coming from your shipping module. You'll need to alter it to have it return its description text differently.

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