I want to remove the sold out button and quantity selector on out of stock products page

I want to remove the sold out button and quantity selector on out of stock products page

swayurindia
Excursionist
144 0 9

I want to remove the sold out button and quantity selector on out of stock products page. Please provide me any legitimate solution for this as I have been searching for it since last 20 days but not found any proper solution.

Below is the screenshot of what I want to remove:

 

remove-sold-out-button.PNG

Out of stock product page link: https://www.swayur.com/products/dhootapapeshwar-swamala-chyawanprash-500-g

Replies 2 (2)

StudioEnchant
Shopify Partner
249 40 41

Hey, you can try using the following code and change it as you wish:

{% unless current_variant.available %}

 

Please let us know if it helped you.

Also, we would recommend to hire an expert for coding jobs.

If we helped you please Like this reply and Mark it as Solution! ❤️

Chat with us on WhatsApp


Click here to enjoy 3 months of Shopify for $1/month on select plans.
swayurindia
Excursionist
144 0 9

But where should I place the code?