Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Customize checkout email with category

Customize checkout email with category

Locked

Views: 2,348

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Jun 2006, 12:28 AM
#1
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Customize checkout email with category

Hello,

since I've search and didn't find, I'm asking the question :
how to customize the order confirmation email so that it shows the category of a product ?

I explain, I'm setting up a zen-cart shop for a pizza seller, since the pizzas are available in three sizes, and have many toppings, I've created a Pizza Category, a sub-category for each size and then each sub category contains the same pizza (same name, different prices).

With this setup, the order confirmation email only shows the pizza name so it's impossible to know from wich category comes the pizza. Even looking the price it's impossible because of the toppings wich are about 20 wich I set up as attributes.

I've found that the email seems to be build in
/catalog/includes/languages/english/checkout_process.php and checkout_confirmation.php

but these files don't show the details of the email, and I even don't know how to change the syntax so that I can get the category to know the size of the ordered pizza.

Thanks for your help

Regards

hubert

11 Jun 2006, 5:15 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Customize checkout email with category

Do you have an URL so we can peek to get a better idea of how this is laid out for adapting the emails?

13 Jun 2006, 8:20 AM
#3
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Customize checkout email with category

So if my explainations are so bad her is the link :-)

h**p://www.piccolo-pizza.com/catalog/

thanks

Hubert

13 Jun 2006, 8:37 AM
#4
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Customize checkout email with category

Ok I'm seeing a kind of solution but I still have a problem :

I could make one category for pizzas and no sub categories for sizes but an attribute(small, medium,large), but the problem is that I do not know how to make that the toppings (wich is a second attribute) price change if the size (first attribute) changes ?

Can somone help me ?

Thanks

Hubert

13 Jun 2006, 4:12 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Customize checkout email with category

Sorry, there is not currently a way to make an attribute dependent on another attribute. It could be done with some custom programming (maybe a lot!)

A thought relative to your original proposal: If you give each pizza product a model number that shows which category/size it is in, can you see the model number in the e-mail? I haven't done anything with e-mails yet so I don't know.

13 Jun 2006, 4:54 PM
#6
hubert avatar

hubert

Zen Follower

Join Date:
Mar 2005
Posts:
229
Plugin Contributions:
0

Re: Customize checkout email with category

Wonderfull, I got it !
I just have to put the size in the model, and then I get

Products

1 x BBQ Chicken (10") = $10.05
Toppings Fresh basil
Toppings Provolone
Toppings Feta

Sub-Total: $10.05
FREE SHIPPING! (Free Shipping Only): $0.00
FL TAX 7.0%: $0.70
Total: $10.75

Exactly what I wanted, thanks for helping.

regards

Hubert