Adds Quantity Increment buttons that were depreciated as of WooCommerce 2.3. Supports plugins that add decimal quantities and allows developers to tie into its javascript functions.
Author: | Nick Verwymeren (profile at wordpress.org) |
WordPress version required: | 4.1 |
WordPress version tested: | 5.4.15 |
Plugin version: | 1.1.1 |
Added to WordPress repository: | 12-11-2015 |
Last updated: | 28-04-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 3 |
Plugin URI: | https://wordpress.org/plugins/woocommerce-qua... |
Total downloads: | 8 127 |
Active installs: | 400+ |
Click to start download |
WooCommerce uses number inputs for the cart quantities by default, as most browsers now support <input type="number" />
.
However, you may want to have JavaScript powered inputs if you want greater control over appearance. Simply install and activate this plugin to do so.
It optionally includes a Number Polyfill, which is a polyfill for implementing the HTML5 <input type="number">
element in browsers that do not currently support it.
To include this, add the following code to your theme’s functions.php
file:
add_action( 'wp_enqueue_scripts', 'wcqi_enqueue_polyfill' );
function wcqi_enqueue_polyfill() {
wp_enqueue_script( 'wcqi-number-polyfill' );
}
FAQ
ChangeLog