Hey all, I was wondering if I could use a little bit of code to hide the price in products that have sold out in the Canopy shopify theme?
Sorry you are facing this issue, it would be my pleasure to help you.
Welcome to the Shopify community! ![]()
Thanks for your good question.
Please share your site URL,
I will check out the issue and provide you a solution here.
Thank you very much - url is laurenpretorius.com
thanks for url
can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/styles.css ->paste below code at the bottom of the file.
.sold-out .price {display: none !important;}
This worked like a charm, thanks so much!
When I click on the product the price does show, can I add this snippet of code to the individual product pages as well?
When I click on the individual product the price still shows - do I need to add a snippet of code to elsewhere for product pages as well? Thanks!
yes its also possible product page bt i can’t fine special code sold out item so i can be done customization code please share us
Okay, what exactly should I be looking for to provide you with? Thanks!
It can be done by doing some code customization. please send me a personal message and we can discuss what you’d like