View Single Post
  #59  
Old 08-03-2006, 08:24 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default

Quote:
Originally Posted by cherie
Quote:
Originally Posted by longhorn180
Has anyone else had this problem? If so do you mind sharing how you fixed it.
One item to note is that /forach should be /foreach. But this code really depends on where you are trying to use it. $products[extra_fields] is only available when you have a list of products such as products.tpl and products_t.tpl. If you are trying to get this information on an individual product page then the array is $extra_fields:
Code:
{section name=field loop=$extra_fields} {if $extra_field.service_name eq "ISBN"} {$extra_field.field}: {$extra_field.value} {/if} {/section}


Cherie, looks like a typo in your code:
$extra_field should be $extra_fields
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote