diff --git a/templates/components/amp/products/card.html b/templates/components/amp/products/card.html index 2848e2c77c..8ef8cc58ee 100644 --- a/templates/components/amp/products/card.html +++ b/templates/components/amp/products/card.html @@ -1,6 +1,6 @@
- {{#or price.non_sale_price_with_tax price.non_sale_price_without_tax}} + {{#or price.sale_price_with_tax.value price.sale_price_without_tax.value}} {{#if theme_settings.product_sale_badges}}
On Sale! diff --git a/templates/components/products/card.html b/templates/components/products/card.html index ee7b1b6815..84e9c9a598 100644 --- a/templates/components/products/card.html +++ b/templates/components/products/card.html @@ -1,6 +1,6 @@
- {{#or price.non_sale_price_with_tax price.non_sale_price_without_tax}} + {{#or price.sale_price_with_tax.value price.sale_price_without_tax.value}} {{#if theme_settings.product_sale_badges '===' 'sash'}}
On Sale! diff --git a/templates/components/products/list-item.html b/templates/components/products/list-item.html index ca3801bc63..a06b9ff69b 100644 --- a/templates/components/products/list-item.html +++ b/templates/components/products/list-item.html @@ -4,21 +4,21 @@
{{/if}}
- {{#or price.non_sale_price_with_tax price.non_sale_price_without_tax}} - {{#if theme_settings.product_sale_badges '===' 'sash'}} -
- On Sale! -
- {{else if theme_settings.product_sale_badges '===' 'topleft'}} -
- On Sale! -
- {{else if theme_settings.product_sale_badges '===' 'burst'}} -
-
On Sale!
-
-
- {{/if}} + {{#or price.sale_price_with_tax.value price.sale_price_without_tax.value}} + {{#if theme_settings.product_sale_badges '===' 'sash'}} +
+ On Sale! +
+ {{else if theme_settings.product_sale_badges '===' 'topleft'}} +
+ On Sale! +
+ {{else if theme_settings.product_sale_badges '===' 'burst'}} +
+
On Sale!
+
+
+ {{/if}} {{/or}} {{> components/common/responsive-img image=image