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