Hello, I need the % discount next to the discount price. URL cosantiboutique.it
I already tried this code but it doesn't work or maybe I put it in the wrong place. Can somebody help me?
{% capture discount %}
{{ product.compare_at_price_max | minus:product.price | times:100 | divided_by:product.compare_at_price_max }}%
{% endcapture %}
I had a youtube video talking about this problem before, please check it out https://youtu.be/A6shsWjABNg
User | Count |
---|---|
431 | |
200 | |
146 | |
57 | |
44 |