{{! Shows a product's price. Prices are fairly complicated. Besides having to be able to show the price with and without tax, a merchant can also assign a Recommended Retail Price, and a Sale Price. This means that in extreme cases, we have to show 4 different prices at once. When a Sale Price is set we do not have direct access to it--instead it overwrites the regular price. @param price object @param show_savings bool If true, show a label saying how much is saved from the full price. }} {{#if price}}
{{#if schema_org}} {{#if price.without_tax}} {{else}} {{/if}} {{/if}} {{#if price.without_tax}} {{#if price.rrp_without_tax}} {{price.rrp_without_tax.formatted}} {{/if}} {{price.without_tax.formatted}} {{#if price.with_tax}} {{lang 'core.price.without_tax' tax_label=price.tax_label}} {{/if}} {{/if}} {{#if price.with_tax}} {{#if price.rrp_with_tax}} {{price.rrp_with_tax.formatted}} {{/if}} {{price.with_tax.formatted}} {{#if price.without_tax}} {{lang 'core.price.with_tax' tax_label=price.tax_label}} {{/if}} {{/if}} {{#if show_savings}} {{#if price.saved}} {{lang 'core.price.you_save' amount=price.saved.formatted}} {{/if}} {{/if}}
{{/if}}