Dawn Theme Hide Price of Out of Stock Items

Hi everyone,

We’ve created a collection page to display all of our out of stock products since we sell vintage one of a kind items and would like people to see our previously sold products.

On this specific page, we are hoping to hide the price, but we see no default option for this and do not know code.

Can anyone help us determine which code is needed on our “Product Archive” page to hide product prices? We would need this to be the same for if someone clicks to view the actual product page for any of our out of stock products - we want the price hidden.

Website: mimo-decor.shop

Page: https://mimo-decor.shop/collections/product-archive

Password: mimo

Appreciate your help here!

MiMO

1 Like

Hello @mimbuffalo ,

It’s GemPages support team and glad to support you today.

I would like to give you a recommendation to support you so kindly follow steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  1. Open your theme.liquid theme file

  2. Paste the below code before


For example,

If you require any further information, feel free to contact me.

Best regards,
GemPages Support Team

4 Likes

Totally worked. Thank you!

1 Like

Thank this also worked for me as well. :slightly_smiling_face:

Hi,

This solution works for me, but I’m wondering if it is possible to display the text: “SOLD OUT” instead of removing the price when an item is out of stock :slightly_smiling_face:

1 Like