Hello,
I would need help, i’m trying to hide the Sale badge from the products thumbnail images. I’m using the Spotlight theme. Can someone please help? Please see the screenshot below. Thanks!
Hello,
I would need help, i’m trying to hide the Sale badge from the products thumbnail images. I’m using the Spotlight theme. Can someone please help? Please see the screenshot below. Thanks!
Hi @ADT77
If you share your store URL and password with me, I will check and provide you with the solution.
Hey @ADT77 ,
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
Hello @ThePrimeWeb ,
The code above removed both badges (Sale and Sold out). I just need to hide the “Sale badge”.
Thanks
Oh I guess your sold out product also had a sale price. Let me give you another code.
Hey @ADT77 ,
In the same theme.liquid file, add this at the bottom of the file ABOVE the tag. You can delete the old code.
Screenshot for reference.
You’re amazing it worked! Thank you so much!
I just noticed that when switching the website’s language from english to french, the Sale badge appears in the French version of the website. The English version which is the default language works perfectly fine. How can we fix it for the French version please?
Thank you!
Hey @ADT77 ,
Can you replace the word French with the word displayed in your site for Sale in french, I don’t know what it is haha. Screenshot below highlighting what you need to replace. Don’t remove the quotes. After that replace the code that I gave you previously.
Hi there, i replaced it with the word En vente as displayed on the website but it’s not working. I tried “En-vente, en-vente, envente” and none works. Please see below
The code i changed below
Hey @ADT77 ,
Can I have the link to your store to test this?
Hey @ADT77 ,
Adding ‘En vente’ worked fine for me. Maybe give it about 5 minutes to apply (Maybe cached, etc…)
Thanks a lot for your help and patience! I did not try this combination whithout the dash between both words, it does work now!
Hello @ThePrimeWeb
Was wondering if you could help a little. I just noticed that the SALE badge also appears in the ‘‘Related Products’’ section in the product page. Can you please help by hiding the badge in that section too? Please see below the 2 screenshots for the Related products section (English and french wordings)
I don’t see it @ADT77
Hi, sorry here is the screenshot. It’s the “Related products” section in the product page. On the homepage everything is fine.
Thank you!
You can try to add this code as well.
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.
Thank you so much, you’re the best!