View Single Post
  #5  
Old 05-27-2004, 01:26 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you have to put your code in products.tpl for it to appear in the products list and product.tpl for it to appear on product details

the code you ould use in products.tpl would be along the lines of

Code:
{if $products[product].param00 ne ""} [img]{$ImagesDir}/3for2.gif[/img] {/if}

and for product.tpl

Code:
{if $product.param00 ne ""} [img]{$ImagesDir}/3for2.gif[/img] {/if}

the code basically says ...

if param00 does not equal nothing / empty do something

replace param00 with the correct extra field that you are using. Use phpmyadmin to check or make a guess

add this code below the call for the thumbnail
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote