ProductList

 

The ProductList store block enables you to set the design used for displaying lists of products in the current category. View a sample ProductList displayed here.

Modifying templates is a convenient means of listing products in a category according to your design requirements. All templates of the ProductList block are stored in the folder avactis-templates/catalog/product-list/default/.

The ProductList block consists of three types of templates: a container, an empty container and common-item templates.

The container template (product-list-container.tpl.html) is used to define the design of the overall ProductList block. For example, you can define border width and border color of the block, place a block title in its upper section, etc.
The empty template (product-list-container-empty.tpl.html) is the default block used by default when the current category contains no products. You can specify an appropriate text, for instance, "There are no products in this category".
The common item template (product-list-item-general.tpl.html) is used to define the design of a group of common items in a block. There can be several such templates: for each type of product you can define a template used to display it.

The figure below shows the outline of templates of the ProductList block provided with Avactis Shopping Cart by default.

 

 


  © 2004-2008 Pentasoft Corp. All Rights Reserved.