View Single Post
  #1  
Old 05-26-2004, 02:44 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default 3 for 2 icon display

This is what happens when you leave cart development for a few weeks, I've completely lost track with X-Cart! Anyway, I set up an extra field called "3for2" and I was hoping to use that as a trigger to get it to display a 3 for 2 graphic against the product in the various views. I was thinking something like this in the templates:

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

Also, if this is the way to go about it, will this work if I set the 3for2 field NOT to display as I only need it as a trigger for the graphic? And can I get it to display in the thumbnail (category) view as well as the detail?

Thanks

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote