Does ZC use templates/classic or templates/templates_default? or both? I guess what i am also saying is what is the name of my template?
Does ZC use templates/classic or templates/templates_default? or both? I guess what i am also saying is what is the name of my template?
Last edited by webmeister; 13 Nov 2012 at 05:33 PM.
When you initially install your Zen Cart, the selected template is "classic" and can be changed via your admin's Tools->Template Selection. Let's play with your contact_us page and pretend that your selected template is named YOUR_TEMPLATE and your customer's language is english.
The language files associated with that page is named contact_us.php and is present in one of the language directories. If the file is found in the /includes/languages/english/YOUR_TEMPLATE/ directory ... that's the one that is used. Otherwise, it's "assumed" to be present in the /includes/languages/english/ directory (since it was during the install).
Ditto with the page template file (tpl_contact_us_default.php). If that file is present in /includes/templates/YOUR_TEMPLATE/templates/ it's used; otherwise, the file present in /includes/templates/template_default/templates/ is used.
Essentially, the files in the YOUR_TEMPLATE directories "override" the like-named files that are part of the default Zen Cart distribution. If there's no YOUR_TEMPLATE file, then the default version of the file is used.
I think that there's a FAQ on this ...
Thanks, just double checking. I have not made a custom template & cannot get Big Chooser to show up in order Total Module although the files appear to be in the right places...any suggestions?