Hide product quantity input field based on categories
-
Hello,
I was wondering if it is possible to hide/remove the quantity input field based on the category. I can use below code for 1 product.
.postid-7618 .input-text.qty.text
{
display: none;
}I have over 200 products in 10 categories. I want to hide/remove the input of 8 categories and for 2 categories the input field needs to be vissible.
If i use the above code, i need to put the postid line over 160 times in the css. A lot of work and a lot of clutter in my css…
Thanks for the support!
Roy
The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Hide product quantity input field based on categories’ is closed to new replies.