xpay✦ Commerce
Directory
WooCommerce plugins
SMNTCS Quantity Increment Buttons for WooCommerce
SMNTCS Quantity Increment Buttons for WooCommerce
Adds plus and minus buttons to the WooCommerce quantity field on product and cart pages.
4.5
(20 ratings)Will this break my store?
What the WordPress.org registry says about keeping SMNTCS Quantity Increment Buttons for WooCommerce running.
Tested to 7.1.4
Tested against the WordPress branch in use today.2 months ago
At least 4.2 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.5.0
woocommerce
These must be installed and active first.3
Maintenance & trust
Scored on how SMNTCS Quantity Increment Buttons for WooCommerce is looked after — not on how many stores run it.
95
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
11 / 15Listing transparency
10 / 10Ratings
4.5
20 ratingsSMNTCS 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
- Min and Max Quantity for WooCommerce
- WooCommerce Composite Products
- WooCommerce Min Max Quantity & Step Control Single
- WooCommerce Min/Max Quantities
- WooCommerce Minimum and Maximum Quantity
- WooCommerce Product Bundles
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.
Where are the settings?
The plugin has no settings page. Activate it and the buttons appear on the product page and in the classic cart. Use the filters described above to change its behaviour.
Does it work with the Cart block?
The Cart and Checkout blocks already have their own plus and minus buttons, so the plugin leaves them alone. It adds its buttons to the product page and to the classic cart.
The quantity changes by 2 instead of 1. What can I do?
Some themes add their own quantity buttons. Since version 2.7 the plugin stops those scripts from changing the quantity a second time. Update to the latest version.
Does it respect minimum, maximum and step values?
Yes. The buttons move in steps and stay between the minimum and maximum. Values that customers type in are rounded to the nearest allowed value, which makes the plugin work with plugins such as Min/Max Quantities.
Categories
Plugin details
Tags on WordPress.org
