Solved

Dawn theme-Hide price on sold out products on collection page only

canyonbird
Tourist
10 0 0

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!

Accepted Solution (1)

ThePrimeWeb
Shopify Partner
1783 502 366

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.

ThePrimeWeb_0-1711560759200.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website

View solution in original post

Replies 3 (3)

ThePrimeWeb
Shopify Partner
1783 502 366

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.

ThePrimeWeb_0-1711560759200.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
canyonbird
Tourist
10 0 0

Perfect, that did the trick. Thank you very much!

canyonbird
Tourist
10 0 0

Perfect, that did the trick. Thank you so much!!