Re: Can't get extra fields to show in other places
in XC 4.5.1 I did the following which works:
Created new file in <skin>/modules/Extra_Fields/ product_extrafields_list.tpl:
{foreach from=$product.extra_fields item=v}
{if $v.service_name eq $xtrafieldservicename and $v.active eq "Y" and $v.field_value}
<div>
<span class="descr">{$v.field}: </span>
<span class="descr">{$v.field_value}</span>
</div>
{/if}
{/foreach}
Called this file from products_list.tpl using:
{if $active_modules.Extra_Fields}
{include file="modules/Extra_Fields/product_extrafields_list.tpl" xtrafieldservicename="ORCHESTRATION"}
{/if}
If this helps you, maybe you can help me....I need to figure out how to show the same extra field data in the cart, this is important because it allows the customer to confirm that they have the exact right product in their cart before they start the check out process. Anyone can help?
__________________
David Coggan
Carolyn Nussbaum Music Company
X-Cart v4.5.4 Gold +
LiteCommerce v2.2.41 (previous 6 years)
|