Hi Guys
Were having a sale on and i have included a "was" and "now" price The was price is pulled from an extra field and if no price has been entered into this field then i want it to display a piece of code that will automatically display a was price. I have tried the following code but i can't get it to work.
Has anyone any ideas.
Code:
{if $extra_fields[3].field_value ne ""}{math equation="round(p / .9)" p=$product.taxed_price assign=was_price} { include file="currency.tpl" value=$was_price}б═{else}{$extra_fields[3].field_value}{/if}
Regards
John.
Xcart Version 4x