Shopify themes, liquid, logos, and UX
Join us March 21 for an AMA on planning your 2023 marketing budget with 2H Media co-owners, Matt and Aron
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 |
---|---|
177 | |
156 | |
92 | |
33 | |
30 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023