Glossary Item Box

Squirrelcart v6.1.0

Template Guide - Category

Overview

This page describes the templates involved in generating the category page, which is displayed when a category is clicked on. These same templates are also used to display categories on your store's home page that are set to "Display When Clicked or Viewed".

Templates

breadcrumb_nav.tpl.php - The bread crumb navigation appears at the very top of the image above. This template is also used when viewing a product's detail page. You can customize the code that separates each link by using the bread crumb separator field in Visual Settings.  

 

category.tpl.php
This is the main template file that controls the appearance of the entire category section of code.

 

subcategory.tpl.php
If the category has subcategories, this template file controls the appearance of each one on the parent category's page.

 

product_thumbnail.tpl.php
This controls the appearance of a single product.

The Products_per_Row and Products_per_Page fields control how many products appear in each row and on each page. The fields can be found on the Visual Settings page (storewide) and the Category record (to override Visual Settings).

 

product_thumbnail_reviews.tpl.php
If you are using the Reviews module, this template file controls the review stars below each product.

 

price_html.tpl.php

This template is used to display all prices in Squirrelcart's storefront page. You shouldn't need to modify this template under normal circumstances. You can control the currency symbols used before and after your prices on the Visual Settings page in your control panel.

 

page_navigation.tpl.php
This controls the appearance of the page navigation at the bottom of the page. This template is used on other pages.

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.