Shopify themes, liquid, logos, and UX
Hi, in Dawn theme I'm hoping to hide the price on my sold out products but ONLY on the main collection page, I would still like the price to show on the individual product page. I've tried a few codes I found in other discussions but they all removed it from both places. Store URL is oxbowcharlie.com
ex. I want price hidden here
https://oxbowcharlie.com/collections/past-work
and price shown here
https://oxbowcharlie.com/products/borealis-earrings
Thank you for any help!
Solved! Go to the solution
This is an accepted solution.
Hey @canyonbird,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.collection .price.price--sold-out {
display: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This is an accepted solution.
Hey @canyonbird,
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.collection .price.price--sold-out {
display: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Perfect, that did the trick. Thank you very much!
Hi I got this working for the Collections page, how do I also hide the product price if sold out on the product page (including the quick order list section on the Trade Theme).
Thanks JC
Perfect, that did the trick. Thank you so much!!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024