Discount % banner

Lucrezia_Germin
Tourist
29 0 1

Hello!

i want to add the % of discount in the first pic over the first photo of some discounted items.

how can I do that? Is there any free App or something? 
thanks

Lucrezia

wanderlustfactory.com

0 Likes
Propero
Shopify Partner
761 89 128

@Lucrezia_Germin ,

Would you like to also calculate the discount dynamically or it is going to be more of badge you want to put. You may try https://apps.shopify.com/picamaze this app it does little more than what you want.

Hope this helps

- Was my reply helpful? Click Like or Click Accept as Solution
To hire: email us at shopify@propero.in
checkout our app https://apps.shopify.com/picamaze
0 Likes
Lucrezia_Germin
Tourist
29 0 1

Thank you so much, but I try the app and nope, i need that customer can see the amount of discount immediatly, like "50% off" on  the pic of every product in my outlet section!

:))) hope that can be done!!

0 Likes
Quyen_Beo
Pathfinder
92 14 23

If you not familiar with code, you can try to find an app with key word: 'sale badge', 'discount badge'

If you familiar with code:
You can get the % of discount by using divide filter the product compare at price and product price

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

{{ 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'}}% off
{% endif %}
Was my reply helpful? Please Like and ✔️ Accept Solution. This mean alot to me
0 Likes