Custom Add To Cart Plus & Minus Button
Add customizable plus and minus buttons to WooCommerce product quantity selectors
by Bonny Elangbam · github.com/bonnyelangbam/add-to-cart-plus-minus-button · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/bonnyelangbam/add-to-cart-plus-minus-button/archive/refs/heads/main.zipReadme
=== Custom Add To Cart Plus & Minus Button === Contributors: Bonny Elangbam Tags: woocommerce, quantity, plus, minus, e-commerce License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html Requires at least: 4.6 Requires PHP: 7.2 Tested up to: 6.8 Stable tag: 1.0.0 WC requires at least: 3.0 WC tested up to: 8.0
Add customizable plus and minus buttons to WooCommerce product quantity selectors for enhanced user experience.
== Description ==
Custom Add To Cart Plus & Minus Button is a lightweight WooCommerce plugin that enhances the product quantity selection experience by adding intuitive plus (+) and minus (-) buttons to quantity input fields on product pages and shopping carts.
This plugin works seamlessly with WooCommerce and provides a better user interface for customers to adjust product quantities without manually typing numbers. The buttons respect minimum and maximum quantity constraints set for each product.
= Key Features =
- ✓ Adds plus and minus buttons to product quantity selectors
- ✓ Fully responsive design optimized for mobile devices
- ✓ Clean, modern aesthetic that integrates with any storefront design
- ✓ Zero configuration - just install and activate
- ✓ Lightweight and performance-optimized
- ✓ No modifications to WooCommerce templates
- ✓ Respects product minimum and maximum quantity settings
- ✓ Compatible with WooCommerce HPOS (High Performance Order Storage)
- ✓ Works on both product pages and shopping cart
- ✓ Compatible with WordPress 4.6+ and PHP 7.2+
= How It Works =
Once activated, the plugin automatically:
- Adds a minus (-) button before the quantity input field
- Adds a plus (+) button after the quantity input field
- Allows customers to increment/decrement quantity with simple clicks
- Respects product-level quantity limits (min/max)
No additional setup or configuration required!
== Installation ==
= Automatic Installation =
- Go to Plugins > Add New in your WordPress dashboard
- Search for "Custom Add To Cart Plus & Minus Button"
- Click Install Now and then Activate
- Visit any WooCommerce product page to see the quantity buttons
= Manual Installation =
- Download the plugin and unzip it
- Upload the
custom-add-to-cart-plus-minus-buttonfolder to/wp-content/plugins/directory - Go to Plugins screen in WordPress and find the plugin
- Click Activate Plugin
- Visit any WooCommerce product page or cart to see the quantity buttons
== Frequently Asked Questions ==
= Do I need to configure anything? = No! Once activated, the plugin works automatically. No configuration needed.
= Will this work with my theme? = Yes, this plugin is designed to work with any WordPress theme that uses WooCommerce.
= Does this plugin modify WooCommerce files? = No, the plugin uses WordPress hooks and filters. It does not modify any core WooCommerce files or templates.
= Can customers still manually enter quantities? = Yes, customers can still click on the quantity input field and type a number directly.
= What versions of WooCommerce does this support? = The plugin is tested and compatible with WooCommerce 3.0 and above, up to WooCommerce 8.0.
= Is this plugin mobile-friendly? = Yes, the plugin includes responsive CSS that optimizes button sizes and spacing for mobile devices.
= Does it support product quantity limits? = Yes, the plugin fully respects minimum and maximum quantity settings configured for each product in WooCommerce.
= Will this affect my site performance? = No, the plugin is lightweight and optimized for performance. It adds minimal CSS and uses jQuery (which WordPress includes by default).
== Screenshots ==
- Plus and minus buttons on the product page quantity selector
- Responsive mobile view with optimized button sizing
- Shopping cart quantity adjustment with buttons
== Changelog ==
= 1.0.0 =
- Initial release
- Add plus and minus buttons to WooCommerce quantity selectors
- Mobile responsive design
- Full HPOS compatibility
- WordPress 6.4 tested
== Additional Notes ==
= Requirements =
- WordPress 4.6 or higher
- PHP 7.2 or higher
- WooCommerce 3.0 or higher
= Support = For support, feature requests, or bug reports, please visit the plugin's support forum or contact the author.
= License = This plugin is licensed under the GPLv3 license. See the LICENSE file for details.
= Credits = Developed by Bonny Elangbam
== Support ==
For questions, feature requests, or bug reports, please visit: https://wordpress.org/support/plugin/custom-add-to-cart-plus-minus-button/