hey,
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.
Any help is greatly appreciated
Thanks!
Hey @Dusty_Dot ! I think you should be able to do this with CSS.
- Go to Online Store > Themes > Edit code (I assume youāre familiar with this since youāve tried a few other options
- Look for this file - base.css
- Add the following CSS code -
.product__info-container .price--sold-out .price__regular {
display: none;
}
Save, and that should be it! Let me know if that worked?
Hi @Dusty_Dot
Please put this code in theme.liquid before body closing tag
Thanks!
1 Like
Thank you for your option, but sadly itās still showing the price
Hey,
Iām not sure if I entered it in the wrong part of the theme.liquid file but sadly didnāt work
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. 
did you just add it to the bottom?
You can add it anywhere to the ābase.cssā file and it should work. I added it close to the top, and that worked for me.
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
Glad to hear that worked! (If you donāt mind, please consider marking that as the solution
)
Do you have a screenshot or store link I can look at? If you could send me that in a DM, Iāll definitely give it a look. 
Thank you and done! 
hereās a screenshot of the product page
Thanks, Iām DMing you to get a link to the page. Thatāll help me find the right solution right away. 
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ā¦