How To Show Discount/Sale Badge in Shopify (2024)
ฝัง
- เผยแพร่เมื่อ 4 ก.ค. 2024
- Adding a Discount Badge
Welcome to WebSense Pro's Shopify tutorial video, where we'll walk you through adding a discount badge to any free theme on Shopify. Whether you're using Shopify Studio or any other free theme available in the Shopify market, this tutorial is for you. By following the steps in this video, you'll be able to create a stylish product discount badge that can be customized to your liking.
Check Out this App
AIOD - All-in-1 Discount
apps.shopify.com/all-in-one-a...
Only this app is on the Shopify app store which has 8+ discounts.
Shopify Store For Just 1$/Month: shopify.pxf.io/XYRLdX
Timestamps:
00:00 Intro
02:00 Installing Fresh Theme
03:00 Adding compare price
04:50 Editing liquid files
07:30 Adding CSS code for styling
08:30 Adding compare price on Variant product
Code: websensepro.com/blog/how-to-s...
If you want help with Shopify Customization, store development, or any other web development help. Contact us via websensepro.com/contact-us
Hire Us On Upwork: www.upwork.com/freelancers/~0...
Hire Us on Fiverr: www.fiverr.com/websensepro - วิทยาศาสตร์และเทคโนโลยี
Checkout the update video with more features th-cam.com/video/MXfER-tz-0U/w-d-xo.html
You just gained a subscriber. I don't usually leave comments for this video I will. I was sceptic at first, but after procrastinating I tried it and it works. Thank you so so much. I will be watching and liking all your videos.
Finally "SOMETHING" worked in my life. Thank you man!!!
Glad I could help! Don't forget to subscribe and share
Lifesaver!!!!!! Been wanting to do something about this and you were the only one with the proper instructions!!!
Thanks
The ultimate goat!!! thank you so much for the amazing work that you are putting out for the community ! Wish you all the best my G ! Thanks again for the help
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Thank you so much!!! Your tutorial was explained well and easy to follow.
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Awesome and very helpful! It worked perfectly. Was easy to follow along. Thank you very much 🙏
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Very helpful! Thanks a lot !
You're welcome!
Thank you!!!!! It works perfect
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Super explained, I have been looking for this for a long time, thank you for this great content! I hope there will be more of these Kontant can be thank you again
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Thank you so much bro! this help me a lot I tried this and its working at first attempt.👍🏻
It was detailed and verify helpful. Thank you for the video
You are welcome!
Amazing job. Simply fantastic
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Most awaited video sir. Thank you so much❤️🙏🏼
Most welcome 😊
Thank you so much for this awesome tutorial it worked a treat!
You're welcome!
Great Help. you explained it very well. it worked the first time. slowly learning Shopify liquid.
Glad it helped!
You the man bro thanks
Happy to help
thank you so much man!
Your welcome
THANK YOU !!
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Subscribed! Sincerely grateful for your dedicated efforts in creating valuable Shopify features and tutorials, and generously sharing them free of charge. Your contributions are truly appreciated.
Thank you so much! 😊
Thank you so much for this information🤗
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
just what I was looking for.
Great, updates version coming shortly with more advanced features
Bro You are the best! amazing work as always. I'm your subscriber for forever man!
You're welcome!
Perfect ! You helped me a lot :) Followed you
You're welcome!
SOOOOOO HELPFULLLL thanks so much
You're welcome!
such a amazing video brother i need this kind of video i search a lot but i did,nt find thank you so much
Glad I could help
Thanks a lot 💗
You're welcome 😊
thank you, bro!
You're welcome!
No Brother you done your job is great 👍 i Like you video so good
thank you so much sir💕💕
Your welcome
Well explained, it worked wll
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Great!
Thanks for appreciation
Thanks man it worked
May Allah Bless you
Lots of Love 💞
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
You are great sir
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Absolute legend
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Thank you sir
Your welcome
thanks man
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
you are amazing
Thaks, share and like pls
Bravo...Thanks
Thanks for watching, don't forget to subscribe
thank you so much
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
ty😀
Your welcome
I have done
Thanks for your video
Thank you too and dont forget to subscribe
Broo you are the best thank you soooooooooooooooooooooooooooooooooooooooooooooo muuuuuuuuuuuuuuuuuuuchhhhh
Your welcome
This was extremely helpful. Thank you very much!
You're very welcome!
Thanks a lott done
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
This nice video make more please sir
Yes making more and more
great Mentor
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Gracias.
Your welcome
Thank you for your tutorial.
But here's the thing: those discount badges may work no problem in product page/product cards/main page.
It won't work if there's a variant from product with different prices.
Let's take product A as an example, A has 4 variants, A1 $10 -> $9, A2 & A3 $2, A4 $2 -> $1, the badge shown in product cards will just show "-90%" as it just take the highest variant price compare with the lowest variant discounted price...
Haven't tested in multivariant product but will definitely create a new tutorial if requested
In the Shopify Dawn theme, I'd like each slide in the slideshow section to have its own unique background color Scheme. Slideshow section layout is set at grid. Please make a video on it
Cool idea!
Amazing!
Thanks for this easy to follow tutorial. I am changing the card-product.liquid file but the discount percentage is not showing on the collection page.
Would you be able to suggest why it could be the case?
Make sure you are adding it to the correct line number
Hello, your video with the percentages discount in Shopify has helped me a lot. Can you make a video or tell me how I can display the discount price instead of the percentages? Example: 30
Dollar original price Jazz 24 $ Equal savings 6 dollars.
So that the savings in the store is now 6 dollars.
Many thanks in advance
Best regards, Christopher
Hi Christopher it will need liquid code customisation. Please contact websensepro.com/contact-us for paid support
Thank you so much!!! But how to show this Discount badge on mobile version shop ?
Is it not showing up on mobile? Desktop and mobile should show this badge
Hi Bro, thank you so much for the video. I've an issue with sale bade in product page. It doesn't reflect in product page but in collection page (home page). I double checked the codes you've given. everything is correct. what might be the issue? I'm using the "Origin" theme
Cant tell without seeing the code
Thank you for this tutorial, it worked great for me, but I have a slight issue, the text( price and description) of my product are overlapping and not making it readable, please advise me on how to get this resolved
Simple to do with CSS
How do you add discount badge to all collections? Thank you very much - your video is very informative!
I am not sure what you are asking it works on all products
Awesome.. got the discounted percentage added on my website. But why does the discount code show -50%. It should show 50 without the minus .. right?
It depends on your preference but you can easily do that via a little code customization
Hello can you create a video showing how to add a New Badge to a Product that looks just like that sale or sold out badge but with a different color? I want to be able to add a tag called "New" to a product and have this badge show up. This would help a lot of people..
Great suggestion! I will create a video on this
Awesome Video!
Somehow, only the discount badge on the product page and not the collection page is able to show the percentage. Is there any way to fix this?
And what phrase can I add to the css to change the product page Text Color to e.g. red?
It should work fine on collection page as well
Great video! How would I delete the sales badge on refresh theme ?
Delete? :p
Hi there,
I noticed that on my theme, there is no 'cart-product' file or even 'price.liquid'. Could it be that these are not accessible for editing on my theme? Please correct me if I am wrong. My theme is 'Impulse Thank you,
This is not going to work with impulse
Brilliant, thank you! It works fine except the product variant pricing. It shows the same discount percentage even if I set different prices. Any idea why that is?
It won't work if you have same price for all the variants
Or 2 out of 3 variants has same price
My "sale" text is in black colour by default. Why is that?
You have CSS or settings in Customize which is why it shows in black color
Same problem I have tried but still problem.
Please make a video on how to customize buy x get y free discount like you did for discounts
Sure, thanks for the idea
all okay, just in the end i want the background tobe red like you , and the text white color like you, but at mine the color of the text is black, can u help me please
Sure, contact us via website
On the homepage, by default, the product's red frame is positioned on the left side. I want it to be positioned on the right side. How can I do that?
It can be done with CSS, and if you are unable to do it, please contact via websensepro.com/contact-us for paid support
it does work in my landing page but not in the product page?
Its tested upto Dawn 13.0.0 so it should work fine. Please reimplement
It worked perfectly! Awesome!
But how can we change the color of the text.
Currently, the color white appears to me. I managed to make the font yellow, but I can't change the text to black.
Font yellow and text black? :)
@@WebSensePro yes
Is there a way to display the Sale Badge when you've created a discount in the store? I don't want to add a "compare to" price - just show that the item is available at a discounted price with a discount I created, on the home or collection page and product page.
Hmm... great suggestion. Will try to create a solution on that
Thanks for your tutorial. I have a question: The promo price doesn't show on product page when you add the discount through the Discounts menu on Admin. It only shows the discount at the Cart. Is there a way to make it work on Dawn theme?
Will need to check the store on whats the issue
@@WebSensePro you can try this on your own theme. Try to create a discount on admin and aply to some products. You won't see the discount on product page, only in cart
@@AlfredoCosta77 I have the same exact issue. Were you able to find a solution?
how to change code if I want amount saved (usd) instead of percentage?
Doable with a small liquid code tweet
How to change 'product discount badge' position in down theme?
Where do you want to position it?
the color only changes on the homepage and not on the product page, how is this possible
Not clear about your question
Great video! How do I change the discount percentage? urgent pls
and also the font
Discount percentage is automatically calculated based on the discount provided, font change require more code Please contact websensepro.com/contact-us for paid support
will this also work with debutify theme
No it wont
I don't see where you search the code! How did you bring up the search to find those lines of code?
By pressing "CMD + F" in mac and "CTRL +F" in windows
Great video however I am not confident enough. Can I hire you?
Yes, fill up the form here websensepro.com/contact-us
My sale button text Colour eg. ( 50% Off ) it is in Black colour i want white text colour. How can i do that? Please Help Me
A little CSS code will help you do that
@@WebSensePro Can you please help me? what should i search and what to edit ?
May I ask if this is also applicable in mobile? Thank you.
Yes
Sir ye craft them mai b work karta hai k nhe?
Nahe
Hello..Does this work on Petlia theme?
Will need to test on that
Is there a way to do this in Debut theme?
You are still using debut? Please update
@@WebSensePro Yes, currently working on my new dawn theme
This tutorial is great until you decide you don't want a sales batch anymore. I went back and reversed all your codes that i had put in. But there's still a blue "sales" batch and i have no idea how to take it out.
Please contact via websensepro.com/contact-us for paid support
I did everything but it does not work for me , please help me !
Sure, contact via websensepro.com/contact-us for support
bhi need a professional footer video if can make
Sure, will definitely make one
@WebSensePro i will be very greatful ..and your videos are amazing just one another video if can make how to put product pictures appear on left side of main product page.
Product pictures already show up on the left side by default
where to find code backup?
thank you got it
Great
its not working for showcase them
Hmm... it's for dawn theme, will create a video on showcase as well
@@WebSensePro Does this work for the spotlight theme too? Hasn't been working for me.
None of this worked at all. The code to change color and shape did nothing. And the code to change the word sale to % off only made it show -100% off no matter what my compare at price was. I checked it several times. And watched the video many times. It doesn't work.
Which theme and version you are using?
I'm unable to find "card-product" or "product-card" or "price.liquid" page on avone theme(Avone-5-modern). Can you help please?
Its for Dawn theme
Thanks sir
Thanks for appreciation, if this video/channel helped in any way please support by Subscribing and Hit the Like button.
Great!
Your welcome