View Single Post
  #6  
Old 01-26-2009, 11:18 AM
 
toltion toltion is offline
 

Advanced Member
  
Join Date: Jun 2007
Posts: 39
 

Default Re: Displaying a single custom field on product page

I find it's best to call the Extra field by it's name, not it's index. The index can change as you add/delete extra fields. Here's a sample of what I use and it works fine for me. The Name of my extra field is "No Ship AIR?" -

Code:
{section name=field loop=$extra_fields} {if $extra_fields[field].field eq "No Ship AIR?"} {if $extra_fields[field].field_value ne ""}{$extra_fields[field].field_value}{/if} {/if} {/section}
__________________
X-Cart Gold 4.1.9
Gift Registry/Special Offers
Advanced mini-cart
XC-SEO
Mulltiple Category/Product Templates
Also bought/recently viewed
Feedback reviewer/viewer bundle
Marketing Manager Pro bundle
many more mods
Reply With Quote