Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Quantity Increment Buttons for WooCommerce

Quantity Increment Buttons for WooCommerce re-adds the quantity buttons depreciated in WooCommerce 2.3

In WooCommerce 2.3, the quantity increment buttons have been depreciated, as most browsers now support <input type="number" />.

However, you may want to keep them. Simply install and activate this plugin to do so.

It optionally includes Number Polyfill, which is a polyfill for implementing the HTML5 <input type="number"> element in browsers that do not currently support it.

To include it, add something like this to your functions.php:

add_action( 'wp_enqueue_scripts', 'wcqib_enqueue_polyfill' );
function wcqib_enqueue_polyfill() {
    wp_enqueue_script( 'wcqib-number-polyfill' );
}
Author Nick Verwymeren, WooThemes, Bryce Adams
Profile
Contributors greatwitenorth, woothemes, bryceadams
Tags quantity, quantity buttons, quantity increment, woocommerce, woothemes
  1. Upload woocommerce-quantity-increment-buttons to the /wp-content/plugins/ directory or search for 'Quantity Increment Buttons for WooCommerce' from Plugins > Add New.
  2. Activate the plugin through the 'Plugins' menu in WordPress

1.1

  • WC 2.6 cart compatibility

1.0.1

  • fixed whitespace issue

1.0

  • Initial Release

I don’t want to use the plugin styles as it looks bad with my theme

You can add the following to your functions.php file:

add_action( 'wp_enqueue_scripts', 'wcqib_dequeue_quantity' );
function wcqib_dequeue_quantity() {
    wp_dequeue_style( 'wcqib-css' );
}

This will dequeue the plugin’s stylesheet.

Share  
Download
Version 1.1

Requires WordPress version: 3.6.1 or higher

Compatible up to: 4.5.6

Last Updated 23 Nov 2016

Date Added: 12 Nov 2015

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

0 stars
0 ratings
1,384 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0