Forums / General Questions / after add to cart is pressed, which file is being called?

after add to cart is pressed, which file is being called?

Locked

Views: 765

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
13 Nov 2009, 4:36 PM
#1
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

after add to cart is pressed, which file is being called?

I need to add some custom variables to pass to the shopping cart. After an item is added from product list, which file is being called?

Thanks

14 Nov 2009, 2:27 PM
#2
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: after add to cart is pressed, which file is being called?

By default, shopping cart

~Melanie

14 Nov 2009, 5:50 PM
#3
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

Re: after add to cart is pressed, which file is being called?

thanks.

which folder is it located at? i can't seem to find it. shopping_cart.php i assume?

14 Nov 2009, 11:54 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: after add to cart is pressed, which file is being called?

includes/templates/template_default/templates/tpl_shoppping_cart_default.php

Copy the original file to YOUR TEMPLATE dir. before doing any customization.

The learning is in the doing.

Potent Products

15 Dec 2009, 3:47 AM
#5
bangsters avatar

bangsters

Zen Follower

Join Date:
Jun 2006
Posts:
168
Plugin Contributions:
0

Re: after add to cart is pressed, which file is being called?

thanks!!! (sorry for late reply, been busy with projects)...

anyway, how are the variables passed from one page to another in zencart? via cookies or sessions? or get?

please advice. I'm trying to send some variables over to shopping cart page but can't seem to get it there.