SMNTCS WooCommerce Quantity Buttons

plugin banner

Display quantity buttons on WooCommerce product page

Author:Niels Lange (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:7.1.2
Plugin version:2.8
Added to WordPress repository:28-03-2018
Last updated:27-09-2026
Rating, %:90
Rated by:20
Plugin URI:https://github.com/nielslange/smntcs-quantity...
Total downloads:69 147
Active installs:2 000+
plugin download
Click to start download

SMNTCS Quantity Increment Buttons for WooCommerce adds minus and plus buttons around the quantity field on the product page and in the classic cart, so customers can change the quantity with one click. The buttons respect the minimum, maximum and step of each product, which makes the plugin work with quantity plugins such as Min/Max Quantities.

Compatible with

Filters

Add these lines to your theme’s functions.php file or a small plugin.

Swap the order of the buttons to plus, quantity, minus:

add_filter( 'flip_quantity_buttons', '__return_true' );

Turn the buttons off on the product page or on the cart page:

add_filter( 'show_on_product_page', '__return_false' );

add_filter( 'show_on_cart_page', '__return_false' );

Use <button> elements instead of <input type="button">:

add_filter( 'use_html_buttons', '__return_true' );<h3>Contribute</h3>

Contributions are more than welcome. Simply head over to GitHub and open a pull request.


Screenshots
FAQ
ChangeLog