Discount Badge Code
user_5540440
plain_text
a year ago
271 B
5
Indexable
<!-- Discount Badge -->
<span class="discount-badge">
{% assign discount_percentage = product.compare_at_price | minus: product.price | times: 100 | divided_by: product.compare_at_price %}
{{ discount_percentage | round }}% OFF
</span>Editor is loading...
Leave a Comment