How to remove quantity selector for single product in Refresh Theme

Anyone know how to remove the quantity selector for a single product in Refresh theme?

I have multiple products but only want to remove quantity selector for one of them.

I’ve seen various answers but for other themes, haven’t seen one for Refresh theme yet.

Any response will be gladly appreciated!

Can you provide a link to the site and the password if it’s still in preview mode?

Preferably to the exact product you’d like to hide the quantity selector for?

Thanks

https://perfectmen.store/products/free-perfect-men

Hello any potential solution?

Hi Rich,

Are you using a Shopify 2.0 supported theme?

If so you should be able to duplicate the product page within the theme editor → remove the quantity selector on the duplicated product page → apply the new product template to a single product.

If you are on an older Shopify theme then the process is a little more involved.

Hi @RichJason33

What you could do is just before the closing tag in the sections/main-product.liquid file, using the “Edit Code” option under theme actions, is add this code which will hide the quantity selector for that specific product ID:

{% if product.id == 7393176780972 %}
	
{% endif %}

Try that and hopefully that’ll hide it for your free product.

Thanks

Thank you so much this worked exactly as needed. God bless you.

Hey there @SB_90 . Do you have this same solution for a single product in the Narrative Theme?

Does anyone have a solution for this, but to remove the product image instead?

We have a custom product that for search purposes requires an image but the on page experience is terrible with the picture being shown.