-
AuthorPosts
-
July 3, 2015 at 7:34 am #320144
I’d like to remove the quantity selector from the single product page.
I have used the css below, but this also removes the quantity selector from the cart page.
How do I remove it only from the single product page but keep it on the cart page?.woocommerce .quantity input[type=”number”], .woocommerce-page .quantity input[type=”number”] {
display:none; margin:0; padding 0;
}Thank you!
July 3, 2015 at 2:51 pm #320411Hi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
July 3, 2015 at 11:32 pm #320654The dev site is here > http://www.tibetanmalashop.com/meditation-beads/
July 4, 2015 at 6:27 am #320845Hi There,
Thanks for writing in!
Try adding following CSS under Appearance > Customize > Custom > CSS:
.single-product .quantity input[type="number"] { display: none; }
Hope it helps.
July 5, 2015 at 12:03 am #321168Thank you, i got it working with:
.woocommerce-page .single-product .quantity input[type=”number”] {
display: none;
}July 5, 2015 at 2:05 am #321229Hey There,
You are most welcome!
It’s good to know that you’ve got it working.If there’s anything else, we can help you with, please let us know.
All the best.
July 5, 2015 at 7:25 am #321358Yes there’s one more thing:
On the single product page where there is a variation (ie. “Choose an option” drop down) the quantity selector is still showing, how do I remove it?July 5, 2015 at 7:55 am #321371Hi There,
Please try following CSS:
.single-product .quantity input[type="number"] { display: none !important; }
Let us know how it goes!
July 6, 2015 at 12:34 am #321843Perfect! Thank you
July 6, 2015 at 12:46 am #321850You are most welcome!
-
AuthorPosts