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_fields[field].service_name eq "ISBN"}
{$extra_fields[field].field}: {$extra_fields[field].value}
{/if}
{/section}

|
Thank you this worked, although there is one correction I had to make. To display the extra field value the code is:
Code:
{$extra_fields[field].field_value}
Thanks again for the quick response this really helps a lot.