How to hide prices for sold out products? And how to change display at collection page of Prestige?

goldcat
Visitor
2 0 0

Hello,
I was looking for the same question and tried to modify many times.
But I couldn't them.

I would like to hide price of sold out at collection page and product page.

Regarding collection page, I would like to hide "sold out" on the image, and I would like to show "SOLD OUT" instead of the price.

I'm using the Prestige theme.
I attached image of my ideal.
Sorry to bother you, could you please help me?
I appreciate your cooperation.

211016-MASK.jpg

 

 

 

 

 

Replies 4 (4)

Zworthkey
Shopify Partner
5581 642 1565

Hii, @goldcat 
Kindly share Your store URL so,
I can solve this issue.
Thank You.

goldcat
Visitor
2 0 0

Hello, @Zworthkey

Thank you very much for your prompt response!
This time is my first posted, so I don't know how to share.
I'm sorry... Where can I foind the share?

Zworthkey
Shopify Partner
5581 642 1565

@goldcat 
Like this screenshot.
Screenshot_2021-10-16_12-48-56 (1).png
Thank You.

dmwwebartisan
Shopify Partner
12282 2546 3694

@goldcat 

How proficient are you in liquid?

You should add the following code to:

{% if product.available %}

/--Price Code--\

{% endif %}

1] product-form.liquid file use for collection page

2]  product-template.liquid use for product page 

Please share this two file code to me i will checked code and modifying and you will update this code your file .

Let me know 
what do you think about this

If helpful then please Like and Accept Solution | Email: dmw.webartisan@gmail.com |  Instagram: @dmw.webartisan
Check here PageFly App to customize your pages | #1 Product Filter & Search app on Shopify | The most powerful Shopify page builder app