Zen Cart Template Files and How They Are Used

In Zen Cart, the template files are used to provide the structure and layout for most of the pages in your cart. They are the files that make use of the definitions from your LANGUAGE FILES. The template files are located in the includes/templates/template_default folder of your zen cart. There are three kinds of template files: common files, specific page files and sidebox files. You can tell a template file apart from any other file by the “tpl” prefix (i.e. tpl_filename.php.). Basically, the template files contain all the information needed to construct the pages used in your zen cart shop.

Common Template Files are located in the includes/templates/template_default/common directory. These are the files that are “common” to every page used in your Zen Cart, or, pages that show up no matter where customers navigate to. These files consist of the Main Page, the Header, the Footer and the Box files used for the sideboxes.

Page Specific Template Files are located in the includes/templates/template_default/templates directory. These files represent the pages of your cart and include the Index page, the Log in page and the Product Display pages.
You can change the layout of each page in your shop by editing these “page” files. Doing this is fairly easy since sections of the files are clearly marked by “” and ““.

The last kind of template files are the Sidebox Template Files, and they are located in the includes/templates/template_default/sideboxes folder. These files contain the instructions for placing content into the sideboxes you are using.

If you need help with your zen cart web site please contact us for a quote.

At Picaflor Azul, we specialize in custom designed responsive zen carts to fit any business, and accommodate any budget. Contact us today about converting your current zen cart to a responsive design, or to have a fantastic new custom design custom tailored to fit your needs and preferences.

zen cart plus picaflor azul equals success