SMNTCS Quantity Increment Buttons for WooCommerce

SMNTCS Quantity Increment Buttons for WooCommerce Install Statistics

10
141.67%
Today: 34 Yesterday: 24 All-time: 56,791 downloads
SMNTCS Quantity Increment Buttons for WooCommerce Icon

Try plugin: SMNTCS Quantity Increment Buttons for WooCommerce

We'll create fresh WordPress site with SMNTCS Quantity Increment Buttons for WooCommerce installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About SMNTCS Quantity Increment Buttons for WooCommerce

Display the quantity increment buttons on the WooCommerce product page and the WooCommerce cart page.

17


0


0


1


2

updated: 1 year ago
since: 6 years ago
author: Niels Lange

Description

Increment Quantity Buttons for WooCommerce adds two additional buttons to the quantity input field on the WooCommerce product page to easily increase and decrease the quantity via button click.

Compatible with

Filter

Since 1.13 it’s possible to flip the -/+ buttons to +/-. To do that, please add the corresponding filter to your functions.php file:

Flip quantity buttons:

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:

Disable plugin on product page:

add_filter( 'show_on_product_page', '__return_false' );

Disable plugin on cart page:

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:

*** Use <button> instead of <input type="button"> ***

add_filter( 'use_html_buttons', '__return_true' );

Contribute

Contributions are more than welcome. Simply head over to Github and open a pull request.