Craft Theme - Hide price of Sold out products

Hi! Does anyone know how to hide the prices of the products sold, on the collections page and on the product page?

Thanks!

2 Likes

Hi @SoniaO ,

Please share your store URL and if your store is password protected then please provide password too.

So that we can help you.

Thank you.

@SoniaO

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

@AvadaCommerce Thank you, https://kimyajoyas.com/

@KetanKumar Thank you, https://kimyajoyas.com/

1 Like

Hi @SoniaO ,

You can follow the instruction below:

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css->paste below code at the bottom of the file:
.price--sold-out {
    display: none !important;
}

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

4 Likes

@SoniaO

thanks for url can you try this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/base.css ->paste below code at the bottom of the file.
.price--sold-out {display: none !important;}
4 Likes

@KetanKumar Works perfect! Thank you! :slightly_smiling_face:

1 Like

@AvadaCommerce Works perfect! Thank you!

@SoniaO

its my pleasure to help us

By far the most simple and straightforward solution. Thank you so much!