VPCART can automatically generate an extended description page for products, rather than you creatingmanually. This page is generated based on a template, which you can edit easily using any HTML editor.
VPCART comes with a sample extended page template – tmp_product.htm – which you can modify to match your desired page layout.
Any field in the products table can be placed into your template. The field must be surrounded by square brackets, as shown in the following example.
Note: Adding a $ symbol at the very start of the line in a template tells VPCART not to display anything on that line if there is nothing in that field.
For example:
<a href="shopexd.asp?id=[catalogid]">
$ <img border="0" src="[cimageurl]"></a>
<br /><a href="shopexd.asp?id=[catalogid]">Click here</a>
You can call any field from the Products table in the database in your product template. For a full list of these fields, see page 220.
You can also add different special function calls to your template to add various features, such as breadcrumbs and rating links to your pages. See page 34 for a complete list of these functions.
If you want to use a template other than tmp_product.htm, you need to change the following Software Configuration value.
Xproducttemplate |
Folder and filename of the template you wish to use. Default tmp_product.htm. |