How to add a link for sold out product in product-form.liquid

Hi there,

I am trying to adjust the code for my theme to link to a contact page, currently, the button is not interactive when the product is unavailable due to the disabled state (at least I think this is what it making it non-interactive).


If possible, I’d like to make a link for the button which displays as “Sold Out” when a product is unavailable to go to a static page.

If anyone could help me, that would be greatly appreciated.

The theme is “Fashionopolism” on 2.0.

Thanks in advance.

Ben

1 Like

@jigokusai
Welcome to the Shopify community!
Thanks for your good question.

it’s customization work you have to hire a developer for that to add link on to the Sold out button.

1 Like

Hi Zworthkey,

Thanks for your reply.

Ive had a look through the forums and similar questions have been answered here before. As the theme im using for the client is very popular I thought there might have been someone else who has experienced this issue.

Hopefully someone can share their experiences or a few lines of code to make the hidden attribute default to an email link when a products unavailable.

Im happy to hire someone but I imagine for a person experienced in liquid this should be a quick fix..

Regards,

Ben

1 Like

@jigokusai

Yea, Sure.
I will add this and i will happy to help you.

Hello @jigokusai

may I know your product page code file? Can you attach it for me to investigate further this?