View Single Post
  #1  
Old 02-23-2009, 04:33 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default If statement for specific option class?

Here's a tricky one - have a client who we are displaying the price on the category page with 'Starting at' in front of it for products with options using this:

{if $products[product].is_product_options}

However, he would only like this to display for products that are variants with a specific option class - in this case 'size'. So products that have an option with the class of 'size' will show 'starting at' while products that have an option class of 'flavor' will not. Version 4.1.10. Any ideas?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote