Zen Cart Logo
Forums / Contribution-Writing Guidelines / where tpl_shopping_cart_default.php called

where tpl_shopping_cart_default.php called

Locked

Views: 3,800

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Oct 2008, 8:14 PM
#1
alvalong avatar

alvalong

New Zenner

Join Date:
Feb 2008
Posts:
74
Plugin Contributions:
0

where tpl_shopping_cart_default.php called

I found shopping cart page is decided by tpl_shopping_cart_default.php. but i can not found which php file call/require tpl_shopping_cart_default.php, that is, where tpl_shopping_cart_default.php be run?

20 Oct 2008, 9:11 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: where tpl_shopping_cart_default.php called

This is a more complicated question than it sounds. A part of loading each page there is a check to see if something is being loaded into the cart and whether the page should be redirected to the shopping cart. Not something that i would recommend interfering with.

What is the underlying problem that you are trying to solve?

4 Nov 2008, 4:42 AM
#3
alvalong avatar

alvalong

New Zenner

Join Date:
Feb 2008
Posts:
74
Plugin Contributions:
0

Re: where tpl_shopping_cart_default.php called

I have found it. it is it is located in main_template_vars.php , any way thanks for your help.:clap:


This is my first shopping site made by z/c D&G Sunglasses Yes, I need template