A Products Price?
Posted: Sun Jan 04, 2015 3:15 pm
Can anyone explain how I can hide the product price if the price field is empty or zero?
Or a method of changing the price to 'Free'
I have tried to hide the price with this code in the template but fails, although it works for other fields.
{if $entry->price->value != ""}
Price:- {$currency_symbol}{$entry->price}
{/if}
Thanks for any help.
Or a method of changing the price to 'Free'
I have tried to hide the price with this code in the template but fails, although it works for other fields.
{if $entry->price->value != ""}
Price:- {$currency_symbol}{$entry->price}
{/if}
Thanks for any help.