Template Pages

Controlling what a page looks like

The most commonly modified files in a Zen Cart template are the files in includes/templates/YOURTEMPLATE/templates, which control how a page looks.

These files are sometimes called “template files” but for clarity we’ll call them template pages, to differentiate them from sidebox files, language files or any other part of a template.

For example, the template page for the Featured Products page is includes/templates/YOURTEMPLATE/templates/tpl_featured_products_default.php.

Template pages will each be a certain page type, depending on the page. For example, the featured products page is a listing page. There are separate FAQs for each of the pages in the storefront. Take a look there to find more information about a specific page.




Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified August 27, 2020 by Scott C Wilson (e4a8002).