To get this to work in V4.0.12 :
$products[product].param00 becomes $extra_fields[0].field_value
that is if the extra field is first in the list.
In product_options do this :
change{include file="currency.tpl" value=$o.price_modifier display_sign=1} to {if $extra_fields[0].field_value eq ""}{include file="currency.tpl" value=$o.price_modifier display_sign=1}{else}{include file="currency.tpl" value=$o.price_modifier display_sign=0}{/if}
I must add i have only been able to do this in product.tpl (and not products.tpl)
|