Fixed price comparison with raw value (instead of string)
Fixed price comparison with raw value (instead of string)
This commit is contained in:
@@ -627,7 +627,7 @@
|
|||||||
endif
|
endif
|
||||||
-%}
|
-%}
|
||||||
|
|
||||||
<span class="price{% if product_compare_at_price > product_price %} sale{% endif %}">
|
<span class="price{% if product_compare_at_price_raw > product_price_raw %} sale{% endif %}">
|
||||||
{% if product.available %}
|
{% if product.available %}
|
||||||
<span class="new-price">
|
<span class="new-price">
|
||||||
{% if product.price_varies %}
|
{% if product.price_varies %}
|
||||||
@@ -639,7 +639,7 @@
|
|||||||
{{ product_price_min }}
|
{{ product_price_min }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
</span>
|
</span>
|
||||||
{% if product_compare_at_price > product_price %}
|
{% if product_compare_at_price_raw > product_price_raw %}
|
||||||
<span class="old-price">{{ product_compare_at_price }}</span>
|
<span class="old-price">{{ product_compare_at_price }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user