diff --git a/snippets/product-info.liquid b/snippets/product-info.liquid
index 0b0d096..c6c12b8 100644
--- a/snippets/product-info.liquid
+++ b/snippets/product-info.liquid
@@ -41,7 +41,7 @@
endif
endfor
- if active_discount
+ if active_discount and target.inventory_quantity > 0
assign variant_price = target.metafields.app--168074346497.auto_discounted_price.value | default: target.price
if target.metafields.app--168074346497.discount_type.value != nil and target.metafields.app--168074346497.discount_type.value != "fixed" and product.metafields.app--168074346497.discount_percentage.value > 0.01
@@ -103,6 +103,18 @@
{%- endif -%}
+
+
+ {{ 'product.general.regular_price' | t }}
+
+
+ {%- if settings.currency_code_enabled -%}
+ {{- variant_compare_at_price | money_with_currency -}}
+ {%- else -%}
+ {{- variant_compare_at_price | money -}}
+ {%- endif -%}
+
+
{%- endif -%}
{%- if product.selected_or_first_available_variant.unit_price_measurement -%}
@@ -137,7 +149,7 @@
{%- capture savings -%}{{ product.selected_or_first_available_variant.compare_at_price | minus: product.selected_or_first_available_variant.price | money }}{%- endcapture -%}
{%- endif -%}
- {{ 'collection.product.discount_html' | t: savings: savings }}
+ {{ 'collection.product.discount_html' | t: savings: savings }}
{%- endunless -%}
@@ -301,6 +313,7 @@
\ No newline at end of file