View Single Post
  #1  
Old 09-14-2005, 11:08 AM
 
golfguy golfguy is offline
 

Senior Member
  
Join Date: Apr 2005
Location: Omaha,NE
Posts: 108
 

Default Using extra_fields as a "flag"

I'm trying to extra fields as a "y/n" flag to determine whether a special image is displayed on the product.tpl page.

I know I'm formatting the field wrong but I'm not sure how it should be formatted. can someone help?

Code:
{if $product.extra_fields[1].field_value eq "y"} [img]{$ImagesDir}/trophy.jpg[/img] {/if}
__________________
Version 4.2.3
Reply With Quote