All things Shopify and commerce
I have 50k products on my store I want to remove or hide base price and only display compare price for all of my products on store. I can't go for csv it will take a lot of time and energy anyone can help me with code or something?
link: Giga tech
Solved! Go to the solution
This is an accepted solution.
replace on this one.
span.badge.price__badge-sale.color-accent-2, .save__disoucnt, .price-item.price-item--regular {
display: none;
}
And save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @HXtech001
Do you want to hide only on the prodcut page? If it is check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
s.price-item.price-item--regular {
display: none;
}
And Save.
Result:
In my opinion, it's better to show the regular price so customers can always see how much they save if they buy it. This strategy can also encourage customers to make a purchase.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
it's showing sale tag and I want to remove it from whole website and remove that sale tag + % off showing
This is an accepted solution.
replace on this one.
span.badge.price__badge-sale.color-accent-2, .save__disoucnt, .price-item.price-item--regular {
display: none;
}
And save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025