nielslange / smntcs-quantity-buttons-for-woocommerce

Display quantity buttons on WooCommerce product page.
https://wordpress.org/plugins/smntcs-woocommerce-quantity-buttons/
GNU General Public License v2.0
8 stars 4 forks source link
smntcs smntcs-plugin woocommerce woocommerce-plugin wordpress wordpress-plugin

SMNTCS Quantity Increment Buttons for WooCommerce

Support Level Build Status GPLv2 License Compatible to WordPress version Compatible to PHP version Downloads Active Installs Plugin Version Tag Version

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

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' );

Installation

  1. Upload smntcs-quantity-buttons-for-woocommerce to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

Plugin page

You can find the plugin on https://wordpress.org/plugins/smntcs-woocommerce-quantity-buttons/.

Changelog

2.5 (2023.10.01)

2.4 (2023.05.27)

2.3 (2023.03.11)

2.2 (2023.01.01)

2.1 (2022.12.03)

2.0 (2022.10.02)

1.26 (2022.01.01)

1.25 (2020.03.28)

1.24 (2020.03.28)

1.23 (2020.02.08)

1.22 (2020.02.07)

1.21 (2020.02.07)

1.20 (2020.11.30)

1.19 (2020.09.13)

1.18 (2020.09.13)

1.17 (2020.05.20)

1.16 (2020.04.04)

1.15 (2020.04.02)

1.14 (2020.03.31)

1.13 (2020.03.11)

1.12 (2019.12.06)

1.11 (2019.11.18)

1.10 (2019.06.28)

1.9 (2019.06.13)

1.8 (2019.06.08)

1.7 (2019.05.31)

1.6 (2019.05.30)

1.5 (2019.02.28)

1.4 (2019.02.21)

1.3 (2019.01.12)

1.2 (2018.11.08)

1.1 (2018.03.31)

1.0 (2018.03.28)