viewCat.tpl
Description
The category page used for displaying products within the category, search results and sale items.
Template file location
/skins/YOUR_SKIN/styleTemplates/content/viewCat.tpl
Control file location
/includes/content/viewCat.inc.php
Classic skin template output screenshot
Standard category page.

Sale items page.

Search results, using the search side box.

Basic template structure
<!-- BEGIN: view_cat -->
<!-- BEGIN: sub_cats -->
The list of subcategories.
<!-- BEGIN: sub_cats_loop -->
Subcategories repeated.
<!-- END: sub_cats_loop -->
<!-- END: sub_cats -->
<!-- BEGIN: cat_img -->
Image assigned to the category.
<!-- END: cat_img -->
<!-- BEGIN: productTable -->
Product table header.
<!-- BEGIN: products -->
Products repeated.
<!-- BEGIN: buy_btn -->
Buy button if product in stock.
<!-- END: buy_btn -->
<!-- END: products -->
<!-- END: productTable -->
<!-- BEGIN: noProducts -->
Product does not exist.
<!-- END: noProducts -->
<!-- END: view_cat -->
|