Display the quantity increment buttons on the WooCommerce product page and the WooCommerce cart page.
Since 1.13, it's possible to flip the -/+ buttons to +/-. To do that, please add the corresponding filter to your functions.php file:
add_filter( 'flip_quantity_buttons', '__return_true' );
Since 1.9, it's possible to disable the plugin on the product page and/or the cart page. To do that, please add the corresponding filter to your functions.php file:
add_filter( 'show_on_product_page', '__return_false' );
add_filter( 'show_on_cart_page', '__return_false' );
Since 2.2, it's possible to use <button>
instead of <input type="button">
for the quantity buttons. To do that, please add the corresponding filter to your functions.php file:
add_filter( 'use_html_buttons', '__return_true' );
- Upload
smntcs-quantity-buttons-for-woocommerce
to the/wp-content/plugins/
directory. - Activate the plugin through the
Plugins
menu in WordPress.
You can find the plugin on https://wordpress.org/plugins/smntcs-woocommerce-quantity-buttons/.
- Test up to WP 6.4
- Add High-Performance Order Storage (HPOS) support
- Test up to WP 6.2
- Fix step increment when changing shipping methods
- Add toggle to use
<button>
instead of<input type="button">
- Test up to WC 7.1
- Test up to WP 6.1
- Test up to WC 6.9
- Test up to WP 6.0
- Test up to WP 5.8
- Add support for Twenty Twenty theme
- Add support for Twenty Twenty-One theme
- Fix JS error for empty cart
- Fix Vanilla JS bug
- Tested up to WP 5.6
- Tested up to WC 4.5
- Replaced the jQuery code with Vanilla JS
- Updated plugin description
- Tested up to WC 4.4
- Tested up to WP 5.5
- Updated plugin icon
- Add SMNTCS Retro theme compatibility
- Adjust button styles on Twenty Twenty cart page
- Declaring required and supported WooCommerce version
- Rename handlers
- Rename plugin slug
- Fix nulled product quantity after release 1.14
- Rename plugin to "SMNTCS Quantity Buttons for WooCommerce"
- Add filter to flip buttons
- Test up to WC 4.0
- Test up to WP 5.4
- Test up to WP 5.3
- Add compatibility to WooCommerce Composite Products and WooCommerce Product Bundles
- Add compatibility for steps
- Add button class for styling purposes
- Adjust styling of quantity field on cart page
- Add filter to disable the plugin on product and/or cart page
- Fix 'maximum and minimum' issue
- Check maximum and minimum when adding or removing quantity
- Test up to WP 5.2
- Refactor based on PHPCS and WPCS
- Fix 'Update cart' issue
- Test up to WP 5.1
- Enable quantity buttons on cart page
- Add compatibility to other WooCommerce extensions
- Hide HTML5 input spinner
- Initial release