I would like to use
{if $product.free_shipping == 'Y'}Shipping: FREE{/if}
but modify it so if its not free it would show how much shipping starts from. Or at least have a number with currency symbol so it would change when currency changed.
I would like to use
{if $product.free_shipping == 'Y'}Shipping: FREE{/if}
but modify it so if its not free it would show how much shipping starts from. Or at least have a number with currency symbol so it would change when currency changed.
Use
{include file="common/price.tpl" value=FREE_SHIPPING_AMOUNT-$product.price}
where FREE_SHIPPING_AMOUNT - is the minimum amount for free shipping
Hi, I do not think you understood my question. I just want to display how much shipping costs somewhere near product price.
Either one cheapest option available so I call it from .. or if its too complicated then my own number for example from 7 but so it would change according to currency changed.
If I understand your question, then where your "Shipping" is located, use your logic above to something like:
{if $product.free_shipping == 'Y'}Shipping: FREE{else}{__("shipping")} {__("starting_at")} {include file="common/price.tpl" value="[your starting price]"}{/if}
This should use "FREE" if free shipping for that product and [your starting price] if it's not FREE. This can be compressed down to one statement but thought for ease of read, I'd write it like this to show what I mean rather than being optimized.
This works well, thanks for that!