How can I hide prices for sold out items in one collection only?

Hi, I want to hide the price for sold out items but only in one of my collections. I’m not sure if the code that has been given for similar questions will apply to all collections. Can someone assist please?

Thanks in advance - Mel

@Mel34 Please send me store url.

I’m Richard Nguyen - CRO Expert at PageFly, I’d like to suggest this idea:

You can hide all of your product prices and reveal them again in the future by editing your currency formats.

note : This customization is for vintage Shopify themes, and doesn’t apply to Online Store 2.0 themes.

You can learn more in this article

https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes/customizing-vintage-themes/hide-product-prices

Hope you find my answer helpful!

Regards,

Richard-pagefly

Hi @Mel34 You can check this one. It can hide prices based on product tags, and also hide the specific prices on certain products.

The dev team can customize the collection hide price for you.

If you only want it to apply to one of your collections, you can create an alternate collection template. Apply the code you found to that new template, and then switch your collection over to that template.

Thanks but that would change it for the whole store and I just want it for one collection.

That looks like a good app but I don’t want it to say request a quote or people will think they’re still for sale.

Thanks, I’ll look into how to do that.

Hi @Mel34 ,

To achieve the required result First you have to create a matefield for collection. We will check if value exist in metafield feature will work for it.

Don’t know about your theme, but in DAWN theme open file main-collection-product-grid.liquid and add below check on li

- ```

![hari1_prasad_0-1667924372711.png|1366x768](upload://j3YUwqdojL3dLWD6zjXVdMXpfjr.png)

Now open css file base.css and add below css at very end of file

```css
.notavailable .price--sold-out{display:none}