Jump to content

Remove the Quantity Box for specific products


Recommended Posts

You can hide it also through CSS, in the default theme you could achieve this by adding this code in the product.css

body.product-1 #quantity_wanted_p .product_quantity_down, body.product-1 #quantity_wanted_p .product_quantity_up {
    display: none;
}

In this example will hide the quantity buttons for the product ID 1, if you need hide for an specific product, just change the 1 in body.product-1 for the ID that you needs hide.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...