View Single Post
  #2  
Old 10-15-2008, 06:05 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: If a product option exists, display icon on products_t.tpl

Quote:
Originally Posted by Christopher728
Hey Guys,
I want to have a little icon display next to the product thumbnail in products_t.tpl if a product has a certain option, such as color.

Does anyone know how that might be accomplished?

This doesn't work of course, but something along these lines - {if $products[product].product_options eq 'Color'}...{/if}

Thanks in advance.

What do you use for this:
product options or product variants or extra fileds?

PS. By default product data on products page does not contain information about product option/variants.
Reply With Quote