Insert the tag "on sale" only when it is more than 50%

Highlighted
Tourist
10 1 4

aaa.PNG

I have the Brooklyn theme, in the "product-grid-list" page I just changed the following code to add an image

{% elsif on_sale%}
< div class = " grid-product__on-sale " >
< img src=" https://cdn.shopify.com/s/files/1/0266/9094/5208/files/50-Off -Transparent-Free-PNG.png? V = 1603191310 " alt = " 50% sale " >
</ div >
{% endif%}

 

 

But that's how he inserts the image on all products, but I would like him to add the image only on discounted products over 50%

Cattura.PNG

You can help me? Thank you very much

Highlighted
Shopify Partner
9447 1188 3316

@Killfair 

Thanks for post 

can you please provide store URL>

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Highlighted
Tourist
10 1 4

Sure:
dofisy.com

Password:
aotsee

Highlighted
Shopify Partner
9447 1188 3316

Hello, @Killfair 

Thanks for it 

It can be done by doing some code customization. please send me a personal message and we can discuss what you'd like

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes