View Single Post
  #6  
Old 01-24-2011, 04:55 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Displaying Product options using "if" statements

Code:
{foreach from=$extra_fields item=v} {if $v.active eq "Y" && $v.field_value} <tr> <td class="property-name">{$v.field}</td> <td class="property-value">{$v.field_value}</td> </tr> {/if} {/foreach}

This will show only active fields with values
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote