Changing template by category

If you want all products in a particular category to use a special template, you can do so by adding a template name to the category record in the cattemplate field.

Every time the product listing for this category is displayed, it will use this template instead of the default product template.

You can also achieve this by adding a link to your product listing page with a template specified in the URL.

For example –

<a href=”shopdisplayproducts.asp?id=55&template=mytemplate.htm”>Products</a>

In this example, the products in category 55 are displayed using template file mytemplate.htm.