Adding quantity selectors / quantity inputs to the product table
How to show a quantity picker in the product table
By default, the Add to Cart column appears in the table without a quantity selector. You can change this by ticking the Quantities box on the plugin settings page, or by setting the
show_quantity option to
true in the product table shortcode. This will display a quantity box next to the Add to Cart button. You can also set this option to
false to hide the quantity selector.
[product_table columns="name,price,add-to-cart" show_quantity="true"]
If the quantity selector or up/down arrows aren’t working, please read our article about quantity selector problems.
Can I set quantity increments or a maximum or minimum quantity of products that can be purchased?
Yes! WooCommerce Product Table works beautifully with the official Min/Max Quantities plugin, plus and WooCommerce Max Quantity and Quantities and Units for WooCommerce plugins. Please see our announcement articles for more information about how the two plugins work together:
Can I change the default quantity to zero?
The default quantity in WooCommerce is 1, and this is inherited by WooCommerce Product Table.
You can change the default quantity to anything you like – including 0 – by using WooCommerce Product Table with our other plugin, WooCommerce Default Quantity. This allows you to change the default quantity either globally, for whole categories, or for individual products.
Once you have changed the default starting quantity, this will appear in the quantity picker within the product table. It will also appear anywhere else that shows a quantity picker, such as on the single product page, or in the quick view lightbox (if you are using WooCommerce Product Table with our Quick View Pro plugin).