I am using the Dawn theme and needing to hide prices of sold out products on the individual product pages. I have managed to hide the prices on collection pages. I have tried many different codes however nothing has worked.
Sorry to hear that! I tested this out on our test store with a fresh copy of Dawn, and it worked then. If you need help with it, let me know and I’ll be happy to give it a look.
I added it further up (just under the /* base */ section) and it worked!
Thank you so much!
I am now realising the available products are showing the price twice on the product page, not sure if you have any tips on removing that too so it just shows the price once
Hi @Dusty_Dot
Can you please provide screenshot of theme liquid where you put this and also the URL of the frontend where issue is appearing, It will help me to look into more details
Thanks!
Hi @Sandy-STOQ I think I sniped this soultion as well, but now we started using the “compare at“ option. When using this the prices keep showing on the shop. Is there some extra CCS we could add to make this work? Otherwise we would just have to remove all the compare at settings…
This is a Dawn + CSS limitation, not your setup
When you enable compare-at price, Shopify renders extra price elements, so the original sold-out CSS rule no longer catches everything.
To fix it, you need to hide all sold-out price blocks (regular + sale + compare), not just one. Otherwise prices will reappear when compare-at is active.
That said, this is why a lot of merchants stop relying on CSS for price hiding — every theme or pricing change breaks it again. Some switch to hide price app so prices can be hidden by status (sold out, collection, product) without touching theme code