Hide Quantity box from specific products - Flex theme

I have two product templates: a default template and another called “subscription,” specifically for a select set of subscription products.
Is it possible to remove the quantity box from the “subscription” product template? unfortunately, the theme I’m using does not permit to remove or hide the quantity box through the customization option.
I am using flex theme - a sample product page from which I want the quantity box removed is attached.
https://intuitsport.com/products/advanced-package?variant=46392414077204

Any help is greatly appreciated.

Hi @technase ,

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file styles.css

Step 3: Paste the below code at the bottom of the file → Save

.shopify-product-form:has([class*="ROS-sub-box"]) .purchase-details__quantity{display:none !important}

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

1 Like

Thank you. works perfectly.

you are welcome. I’m glad when I can help you :heart_eyes: