Hi @Anonymous
Try the below code, put it in your collection.liquid file where the pricing section is.
{% if product.compare_at_price_max > product.price %}You save {{ product.compare_at_price_max | minus: product.price | times: 100.0 | divided_by: product.compare_at_price_max | money_without_currency | times: 100 | remove: '.0'}}%{% endif %}
User | Count |
---|---|
395 | |
205 | |
129 | |
49 | |
42 |