Shopify themes, liquid, logos, and UX
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
Hello, I want to use the new dawn theme. I want to keep the sold-out tag and also the cross out the price but i don't want to have a sale tag. Any idea how i can get rid of this?
thank you so much
Solved! Go to the solution
It can be done by doing some code customization. please send me a personal message and we can discuss what you'd like
Did you manage to get it sorted? 😊 I still haven’t got a solution yet.
please share store url?
Hi, I found out the way to remove the sale tag & still keep other tags on the product page:
1. Edit Code -> Assets -> Component-price.css
2. Search for the code (Ctrl + F):
.price--sold-out .price__badge-sold-out,
.price--on-sale .price__badge-sale {
display: inline-flex;
}
3. Remove ".price__badge-sale" in the code line
4. Paste this at the bottom:
.price__badge-sale {display:none;}
5. Done
These steps help you to remove the sale tag on the product page only. It still shows up on the homepage and collection list. That's all I need :))
Hi all - thanks for these posts - got "Sale" off my product page, but can anyone help me get off off home page and elsewhere?
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community!😊
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
thanks for url can you please try this code
1. Go to Online Store->Theme->Edit code
2. Asset->/component-card.css ->paste below code at the bottom of the file.
.card__badge {display: none;}
if my pleasure to help us
Hello,
Is there any way to remove the "sale" badge on collection page, without removing the "sold out" badge on collection page?
@NewYorkais Welcome to the Shopify community.
Happy to help you.
Kindly Share your Store Url So i will help you.
Thank you.
You solution over looks one thing in that .card__badge doesn't remove it from pages.
Those who want to remove the item from item pages
change in the main-product.liquid
{%- render 'price', product: product, use_variant: true, show_badges: true, price_class: 'price--large' -%}
to
{%- render 'price', product: product, use_variant: true, show_badges: false, price_class: 'price--large' -%}
Only change is show_badges.
Go to "Assets", then "base.css", then Ctrl + F, type ".badge", look for a block of code with options like "border", "border radius" etc, just type type "display: none;" at the end of the block within a } bracket, and you are good.
This will also remove the sold out badge. We are asking to remove only the sale badge please
I already answered this very question for someone else at
https://community.shopify.com/c/online-store-2-0/sale-tag/m-p/1570933#M3460
User | RANK |
---|---|
115 | |
87 | |
71 | |
65 | |
46 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022