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
|
||||
-%}
|
||||
|
||||
<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 %}
|
||||
<span class="new-price">
|
||||
{% if product.price_varies %}
|
||||
@@ -639,7 +639,7 @@
|
||||
{{ product_price_min }}
|
||||
{%- endif -%}
|
||||
</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>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
Reference in New Issue
Block a user