Discount Badge Code
user_5540440
plain_text
5 months ago
271 B
4
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