“60% OFF ENDING JULY 27TH! FREE SHIPPING WORLDWIDE!” appears on all of my products though I only want it on my product that is on sale. I have added and removed the text but it still goes on every page. Its just a simple text section. Im sure the solution to this is very simple, how do I fix? Here are screenshots. The first being on the page I want and the second being on the rest of my products -
Hey @stalitic
First, you need to locate the code in your theme files that is displaying “60% OFF ENDING JULY 27TH! FREE SHIPPING WORLDWIDE!”
Once you’ve located it then you need to apply IF conditon on that code and it should look something like this in the end.
{% if product.on_sale %}
60% OFF ENDING JULY 27TH! FREE SHIPPING WORLDWIDE!
{% endif %}
Then just save it and it will only be displayed on the products which are on sale.
NOTE: If you’re not familiar with coding then I suggest you to hire a Shopify developer who can help you accomplishing this task.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
I am unable to locate the text. Any insight on finding it?
Hey @stalitic
If this text is appearing on your product page, then it should be available in your main product.liquid file.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is what I have found. I can edit it and it edits the text on the store. But I still don’t know if this is the right line of code or how to change it. Going cmd F on main product.liquid I couldn’t find anything. Also I don’t know how to edit this so it on appears on the specific product. The second screenshot has the same line of text but is named the name of the product I want the text on (the shark blanket)
I need to get better at coding somehow
what free online course would you recommend I have lots of time



