Product Display

Xproductwithhtml

Setting this to Yes means VPCART should format your Products using templates. No will use VPCART’s standard product layout method.

Xproductcolumns

This defines how many products to display across the screen.

 

Note: If set to more than one, VPCART automatically switches from normal product display to templates.

 

For 2 Columns and above,please change :

xbundleddisplaytemplate totmp_2_column_bundledformat.htm,

xgiftdisplaytemplate to tmp_2_column_giftformat.htm,

xproductdisplaytemplate totmp_2_column_productformat.htm,

xproductdisplaytemplateinvent to tmp_2_column_productformatinvent.htm.

NOTE : In VPCART 8.00, this config is now removed.

Xproducttemplate

The name of the template to use for displaying products in the shopdisplayproducts.asp page. Default is tmp_product.htm.

Xcategoryproducttemplate

Settings this to Yes means that VPCART will use the template specified with the category to display these products. This allows you to have different templates for products in different categories.

 

VPCART is very flexible on how it allows you to define which template to use. The template being used can be constant, can change by category or it can change on an individual product.

 

By default, the template tmp_productformat.htm is used for displaying products on shopdisplayproducts.asp.

 

In the categories table, you can specify a value in the “cattemplate” field. Each time the products in that category are displayed, that template file is used instead of the default.

 

You can also change the template being used by passing the template name in the URL, as shown below.

 

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