View Single Post
  #2  
Old 02-24-2009, 12:16 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: If statement for specific option class?

It's quite simple
find in your skin1/customer/main/product.tpl
Code:
<tr><td class="ProductPriceConverting" valign="top">{$lng.lbl_price}:
and replace with
Code:
<tr><td class="ProductPriceConverting" valign="top">{$lng.lbl_price} {foreach from=$product_options item=v}{if $v.class|lower eq 'size'}starting at{/if}{/foreach}:
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote