devshb
Senior Member
United Kingdom
1904 Posts |
Posted - November 28 2008 : 05:44:57
|
For the additional images, although they're storable in the data via the edit-product screen, they're not by default shown on the product-detail pages. To show an additional image in the product-detail page you'd need to edit the tmp_product.htm template file in notepad, and add something like this wherever you want the additional images shown:
$<img src="[extraimage1]" border="0"><br> $<img src="[extraimage2]" border="0"><br> $<img src="[extraimage3]" border="0"><br> $<img src="[extraimage4]" border="0"><br> $<img src="[extraimage5]" border="0"><br>
Note that the $ is a special character in the templates; it means that if the extraimage column for that product is blank then the rest of the html on that template line won't get displayed. If you're using the $ trick, then the $ must be the very first character on that line in the template and only one template-field (ie something in square brackets) is allowed on that line.
tmp_product.htm is the template for the shopexd.asp?id=xxx page (where xxx is your catalogid of the product)
tmp_productformat.htm is the template for the shopdisplayproducts.asp page (ie the summary, eg a list of products in a given category)
For getting "more.." links setup properly, it depends which version you're on as to whether some options will work as expected. Normally you'd make the following config changes:
xcrosslinkurl: shopexd.asp
(instead of shopquery.asp; but that only works on the vpasp option package and above)
xgenerateshopexdlink: set to "Yes" (instead of no, but, like the change above that'll only work on option package or above)
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons |
Edited by - devshb on November 28 2008 05:55:39 |
|
|