Remove the sale tag from product where the compare price is 0$

{% if Compare_at_price %}

{{ 'products.general.sale' | t }}
{% endif %}

i am apply this condition is it true?

please help me

Hi @john031 ,

Incorrect, you should use this:

{% if product.compare_at_price > product.price %}

{{ ‘products.general.sale’ | t }}

{% endif %}

1 Like