Hi,
I was trying in different ways to implement your idea of taking a certain extra field's value and inserting where you wish to. It didn't work for me. Can you tell me where I'm wrong:
skin1/modules/Extra_Fields/product.tpl
Code:
{foreach from=$extra_fields item=v}
{if $v.active eq "Y" && $v.field_value}
<tr>
<td class="property-name">{$v.field}</td>
<td class="property-value">{$v.field_value}</td>
</tr>
{/if}
{/foreach}
{section name=field loop=$extra_fields}
{if $extra_fields[field].field eq "promo_link"}
{if $extra_fields[field].field_value ne ""}
{assign var="promo_link" value=$extra_fields[field].field_value}
<tr><td colspan="2">
<a href="{$promo_link}" class="ButtonOrange">Print Special Coupon</a>
</td></tr>
{/if}
{/if}
{/section}
I have other three Extra Fields marked as "show" and one is not marked as "show" (promo_link) so I need to show the three extra field's values normally and the
promo_link as a code in <a> tag. Is it possible?
I would appreciate your help, thank you!
clik