Skip to content

Commit

Permalink
Check if there is compare_at_price (#3000)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenekasimov committed Sep 21, 2023
1 parent 9f26497 commit 770621b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/price.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{%- endcomment -%}
<div class="price__regular">
{%- if product.quantity_price_breaks_configured? -%}
{%- if show_compare_at_price -%}
{%- if show_compare_at_price and compare_at_price -%}
{%- unless product.price_varies == false and product.compare_at_price_varies %}
<span class="visually-hidden visually-hidden--inline">
{{- 'products.product.price.regular_price' | t -}}
Expand Down

0 comments on commit 770621b

Please sign in to comment.