View Single Post
  #5  
Old 07-23-2009, 11:56 PM
 
Gibson1957 Gibson1957 is offline
 

Member
  
Join Date: Mar 2009
Posts: 23
 

Default Re: Can't get extra fields to show in other places

{foreach from=$product.extra_fields item=v}
{if $v.active eq "Y" && $v.value ne "" && $v.field eq "*** Whatever your field is called ***"}
<span class="*** Whatever you want (style sheet) ***">{$v.value}</span>
{/if}
{/foreach}

For example your product field may be called "Size" etc. etc. - this code goes in the

{foreach from=$row item=product}
{if $product}

loop.

Hope that helps. Obviously if you're showing all the extra fields, you would omit the part that says '&& $v.field eq " blah blah " ' to show all of them.
__________________
X-Cart Gold 4.2

Add-on: X-Affiliate
Add-on: X-RMA (Return Merchandise Authorization)
Add-on: X-SpecialOffers
Add-on: X-AOM (Advanced Order Management)
Reply With Quote