Re: ship by mail icon.. (like the special offer icon) (i can pay for it)
yes - the loop must also be in the product.tpl - to debug, you can add something that writes out the variables inside the loop to make sure it is working and that the variables are as you expect.
{section name=field loop=$extra_fields}
<b>field</b>: {$extra_fields[field].field}<br />
<b>value</b>: {$extra_fields[field].field_value}<br />
{if $extra_fields[field].field eq "ship_by_mail" && $extra_fields[field].field_value ne ""}
{assign var="ship_by_mail" value=$extra_fields[field].field_value}
<b>Ship By Mail:</b> {$ship_by_mail}<br />
{/if}
{/section}
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
|