Templates are treated as plain text and cannot have logic in them - you can’t add ASP to your templates.
You can, however, add calls to special VPCART functions as shown in the example below.
[FORMATIMAGESUB]
These functions tell VPCART to add additional information to your page and allow you to add pre-coded complex logic to your pages instead of just displaying a field from the database.
[FORMATIMAGE SUB] |
Generates image. |
[FORMAT BUTTON SUB] |
Generates a check box or order button. |
[FORMATHYPERLINKS SUB] |
Generates reviews and tell a friend hyperlinks |
[FORMATPRODUCTOPTIONS SUB] |
Displays product features |
[FORMATQUANTITY SUB] |
Displays quantity form field |
[FORMATOVERALLRATING SUB] |
Displays review summary |
[FORMATCOMPARISON SUB] |
Displays comparison product links. This is related to xcompareproducts. |
|
|
The functions above can only be used in the template displayed on shopdisplayproducts.asp.