Display "SALE %" only with sale

Display "SALE %" only with sale

MariaNorgaard
Tourist
9 0 1

Hi

I would like to edit the "SAVE %" icon so that it's only visible if there is money to save and it should also show the percentage that the customer can save.

I'm using the Zendrop Theme on my website: alulushop.com.

I tried to look in the code price.liquid, but I am not so good at coding, so I need to know what to do exactly to make it work. Anyone who knows how to change it?
SAVE.png

Replies 3 (3)

Shadab_dev
Shopify Partner
292 13 37

I will not say I know how to do it now. But that's is something I do I look up code and try fixing these stuffs. 

 

First you want to display this percentage thing only when a product does let a customer save something so for example an image has an original price but then you are selling at a lower price and want to display the percentage the user saved??

 

Secondly if you ask me to do it I will need collaborator access to your store since you are on a paid theme and I test these stuffs on a development store which does not allow editing code for paid themes.

 

Thanks 

If this is helpful, please Like and Accept the solution.
Buy me Coffee, if you feel i was helpful. Definitely a motivation to carry out gutting solutions. Need help with shopify liquid or any project in web dev- Feel free to Email Me

Thanks
MariaNorgaard
Tourist
9 0 1

Yes, that's what I want 🙂
I will send you a PM for collaborator access.

Shadab_dev
Shopify Partner
292 13 37

All right. I have sent you the request. 

If this is helpful, please Like and Accept the solution.
Buy me Coffee, if you feel i was helpful. Definitely a motivation to carry out gutting solutions. Need help with shopify liquid or any project in web dev- Feel free to Email Me

Thanks