Title: Quantity Plus Minus Button for WooCommerce
Author: CodeAstrology IT Firm
Published: <strong>2020 年 7 月 1 日</strong>
Last modified: 2026 年 5 月 20 日

---

搜索插件

![](https://ps.w.org/wc-quantity-plus-minus-button/assets/banner-772x250.jpg?rev
=3538865)

![](https://ps.w.org/wc-quantity-plus-minus-button/assets/icon-256x256.png?rev=3538865)

# Quantity Plus Minus Button for WooCommerce

 作者：[CodeAstrology IT Firm](https://profiles.wordpress.org/codeastrology/)

[下载](https://downloads.wordpress.org/plugin/wc-quantity-plus-minus-button.2.0.9.zip)

 * [详情](https://cn.wordpress.org/plugins/wc-quantity-plus-minus-button/#description)
 * [评价](https://cn.wordpress.org/plugins/wc-quantity-plus-minus-button/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wc-quantity-plus-minus-button/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wc-quantity-plus-minus-button/#developers)

 [支持](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/)

## 描述

_Quantity Plus/Minus Button for WooCommerce_ plugin add beautifully designed quantity
buttons for WooCommerce quantity input box on the product page which also support
for decimal quantity. Easily add plus, minus button for WooCommerce Quantity Input
box in everywhere. Such: Single Page, In Loop Quantity input, Cart page etc with
custom design. User able to get custom/own color for his plus or minus button.

**Features**

👉 Quantity step supported
 👉 Decimal quantity supported 👉 Customizable button
design 👉 You can customize button background color and hover 👉 You can customize
button text color and hover 👉 You can customize border color and hover 👉 You can
customize border width 👉 You can set custom border radius 👉 Live customer support
for any Issue. 👉 Well documented 👉 Well commented 👉 Clean code 👉 Compatible 
with all themes 👉 Compatible with all plugins 👉 Compatible with Woo Product Table
👉 Compatible with the latest version of WordPress 👉 Compatible with the latest
version of WooCommerce

**[Demo Link](https://demo.wooproducttable.com/product/couple-jewelry/)**

### Filter

Enable Ajax add to cart for Single Product Page.

    ```
    add_filter('wqpmn_ajax_cart_single_page', '__return_true' );
    ```

On off checkbox in admin page using filter

    ```
    add_filter('wqpmb_checkbox_row_validation', '__return_true' );
    ```

CSS validation using filter

    ```
    add_filter('wqpmb_css_row_validation', '__return_true' );
    ```

Use default WooCommerce template

    ```
    add_filter('wqpmb_show_validation', '__return_true');
    ```

Hide on product page

    ```
    add_filter('wqpmb_on_product_page', '__return_false');
    ```

Hide on cart page

    ```
    add_filter('wqpmb_on_cart_page', '__return_false');
    ```

Hide on Mini Cart page

    ```
    add_filter('wqpmb_on_mini_cart_page', '__return_false');
    ```

To Change Templae Base Directory, Use following Hook
 In that directory, template
files folder will be locate add_filter(‘wqpmb_template_base_dir’, $template_base_dir);

**👷 HONORABLE CONTRIBUTOR – [GitHub](https://github.com/codersaiful/wc-quantity-plus-minus-button/graphs/contributors)
👷**

 * [codersaiful](https://github.com/codersaiful) (53 commits 1,965 ++ )
 * [unikforceit](https://github.com/unikforceit) (1 commit 5 ++ )
 * [fazlebarisn](https://github.com/fazlebarisn) (1 commit 11 ++ )
 * [autocircled](https://github.com/autocircled) (1 commit 110 ++ )
 * [mdibrahimk48](https://github.com/mdibrahimk48/) (3 commit 5++)
 * [bizzplugin](https://profiles.wordpress.org/bizzplugin/#content-plugins) (1 commit
   10 ++ )
 * [codeastrology](https://profiles.wordpress.org/codeastrology/#content-plugins)(
   1 commit 10 ++ )
 * 👉 [You can join here](https://github.com/codersaiful/wc-quantity-plus-minus-button/fork)

**🥇 CONTRIBUTE 🥇**
 You are welcome to contribute to this project. Join with us
[Fork Github repository](https://github.com/codersaiful/wc-quantity-plus-minus-button/fork).
If you contribute 1 commit, We will add your name to our plugin’s Contributor table/
list of WordPress Plugin too.

### Privacy Policy

Quantity Plus Minus Button for WooCommerce by CodeAstrology uses [Appsero](https://appsero.com)
SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot
problems faster & make product improvements.

Appsero SDK **does not gather any data by default.** The SDK only starts gathering
basic telemetry data **when a user allows it via the admin notice**. We collect 
the data to ensure a great user experience for all our users.

Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without
confirmation from users in any case.**

Learn more about how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).

## 屏幕截图

[⌊Quantity button in WooCommerce cart page⌉⌊Quantity button in WooCommerce cart 
page⌉[

Quantity button in WooCommerce cart page

[⌊Quantity button setting page with custom color selection⌉⌊Quantity button setting
page with custom color selection⌉[

Quantity button setting page with custom color selection

[⌊Quantity button in single product page⌉⌊Quantity button in single product page⌉[

Quantity button in single product page

[⌊Quantity button in WooCommerce cart page⌉⌊Quantity button in WooCommerce cart 
page⌉[

Quantity button in WooCommerce cart page

[⌊Quantity button in single product page⌉⌊Quantity button in single product page⌉[

Quantity button in single product page

[⌊Quantity button in WooCommerce cart page⌉⌊Quantity button in WooCommerce cart 
page⌉[

Quantity button in WooCommerce cart page

[⌊Quantity button in single product page⌉⌊Quantity button in single product page⌉[

Quantity button in single product page

[⌊Quantity button in WooCommerce cart page⌉⌊Quantity button in WooCommerce cart 
page⌉[

Quantity button in WooCommerce cart page

[⌊Quantity button setting page with custom color selection⌉⌊Quantity button setting
page with custom color selection⌉[

Quantity button setting page with custom color selection

[⌊Quantity button in WooCommerce cart page⌉⌊Quantity button in WooCommerce cart 
page⌉[

Quantity button in WooCommerce cart page

[[

[[

## 安装

 1. Upload ‘wc-quantity-plus-minus-button’ to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

### Menu Location after Install:

🔅 Dashboard -> WooCommerce -> (+-) Plus Minus Button

### Already my theme provide Plus Minus botton, Do I need it?

🔅 No Need, As it’s already provided by your theme.

### Does this plugin support StoreFront theme?

🔅 Yes this plugin is supports all themes.

### Can I hide plus minus button from cart page?

🔅 Yes, you can hide it by using our filter (`wqpmb_on_cart_page`). see following
code:
 add_filter(‘wqpmb_on_cart_page’,’__return_false’);

### Does this plugin supports decimal value as quantity?

🔅 Yes, this plugin supports decimal value as product quantity.

### What is default Shortcode?

🔅 There is no shortcode for this plugin.

### What is setting page? or Where I can change button color

🔅Go to `Dashboard -> WooCommerce-> (+-) Plus Minus Button -> [And change/update
your setting]`

### Can I set product limitation to show in one table?

🔅 Yes. You can set the product limit to show in you able. Eg. You have 100 products
in your site then you can easily show 50 of them.

### How to use?

🔅 Install and activate. Then go to ( Dashboard->WooCommerce->Plus Minus Button -
> [And change/update your setting] ). And enjoy it.
 That’s it. So easy, Right !!!

### Is it suitable for any theme ?

🔅 Yes, But if already available plus minus button on your theme, you should not
use any plus minus button plugin.

### Is it suitable with (Woo Product Table) Plugin ?

🔅 Yes. _Product Table for WooCommerce by CodeAstrology_ or _Woo Product Table_ 
will adapt with your design.

## 评价

![](https://secure.gravatar.com/avatar/d75a65c53000526de99300d339d1a830f554d329305756e951d69d435c1537e2?
s=60&d=retro&r=g)

### 󠀁[Spam adverts removed by author, thank you!](https://wordpress.org/support/topic/spam-attached-to-this-plugin/)󠁿

 [mi11](https://profiles.wordpress.org/mi11/) 2026 年 4 月 26 日

edit: originally gave 1 star but changed to 5 stars!! Plugin author has removed 
adverts, so a big thank you as its a great plugin!!

![](https://secure.gravatar.com/avatar/6e624dd9d5cfd73a73b52f449c853decbd6791ce87ff9834ceb6516c9ba6c3cd?
s=60&d=retro&r=g)

### 󠀁[Works perfect!](https://wordpress.org/support/topic/works-perfect-1145/)󠁿

 [fwuk](https://profiles.wordpress.org/fwuk/) 2025 年 12 月 21 日

Works perfect with my OceanWP theme. Thank you for a great plugin

![](https://secure.gravatar.com/avatar/92b7d005d1ba6b94b4e69814a40933f600fdcdcb097f2e1b5e4ae23d53535ee0?
s=60&d=retro&r=g)

### 󠀁[Broken](https://wordpress.org/support/topic/broken-724/)󠁿

 [primerpizza](https://profiles.wordpress.org/primerpizza/) 2025 年 4 月 14 日 1
回复

Quantity increment does not update the cart.

![](https://secure.gravatar.com/avatar/0c56f17495a84cf2054fa9f4044e9fcf67521ada5a86ad732a225f17c8376970?
s=60&d=retro&r=g)

### 󠀁[Very good assistant](https://wordpress.org/support/topic/very-good-assistant/)󠁿

 [cameravui](https://profiles.wordpress.org/cameravui/) 2025 年 1 月 23 日 1 回复

The assistant help me in CSS issue, now it works very fine. I apprectiate it. Thanks

![](https://secure.gravatar.com/avatar/a0c0ab294ec72d2f524cf0f780bfee1bdeb4eb4c3582c9a986c599cd16d6237a?
s=60&d=retro&r=g)

### 󠀁[Owesome Plugin](https://wordpress.org/support/topic/owesome-plugin-6/)󠁿

 [fsteam](https://profiles.wordpress.org/fsteam/) 2025 年 1 月 20 日 1 回复

Its support is too much good !They resolved my issue in 2 mins.

![](https://secure.gravatar.com/avatar/1d59ab0a964121433f98f1af88f33bd72d3cc5560926fe9d519b095d09ea477e?
s=60&d=retro&r=g)

### 󠀁[Spam on customer dashboards](https://wordpress.org/support/topic/spam-on-customer-dashboards/)󠁿

 [alerion2](https://profiles.wordpress.org/alerion2/) 2024 年 12 月 16 日 2 回复

They use customers wp admin dashboards for useless ads

 [ 阅读所有30条评价 ](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/)

## 贡献者及开发者

「Quantity Plus Minus Button for WooCommerce」是开源软件。 以下人员对此插件做出了
贡献。

贡献者

 *   [ CodeAstrology IT Firm ](https://profiles.wordpress.org/codeastrology/)
 *   [ Saiful Islam ](https://profiles.wordpress.org/codersaiful/)
 *   [ Bizzplugin ](https://profiles.wordpress.org/bizzplugin/)
 *   [ Md. Ibrahim Khalil ](https://profiles.wordpress.org/mdibrahimk48/)
 *   [ UnikForce ](https://profiles.wordpress.org/unikforce/)
 *   [ Fazle Bari ](https://profiles.wordpress.org/fazlebari/)

「Quantity Plus Minus Button for WooCommerce」插件已被翻译至 1 种本地化语言。 感谢
[所有译者](https://translate.wordpress.org/projects/wp-plugins/wc-quantity-plus-minus-button/contributors)
为本插件所做的贡献。

[帮助将「Quantity Plus Minus Button for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wc-quantity-plus-minus-button)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wc-quantity-plus-minus-button/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wc-quantity-plus-minus-button/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wc-quantity-plus-minus-button/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wc-quantity-plus-minus-button/)。

## 更新日志

#### 2.0.8 & 2.0.9

 * Tested with latest WordPress and WooCommerce version and updated.
 * Bug fixed.

#### 2.0.6 && 2.0.7

 * Promotional offer has been removed totaly.
 * Bug fixed.

#### 2.0.6

 * Tested with latest WordPress and WooCommerce version and updated.
 * Fixed: ‘quantity-input.php’ template file issue fixed.
 * Fixed: text-domain issue fixed.
 * Bug fixed.

#### 2.0.5

 * Fixed: text-domain issue fixed.
 * Bug fixed.

#### 2.0.0

 * Fixed: fatal error issue has been fixed.
 * Bug fixed.

#### 1.2.4

 * Escapping update.
 * Sanitization update.
 * Security updated.
 * Code Optimized.
 * Bug Fixed.

#### 1.2.3

 * Fixed: Cart update on change qty for cart page has been fixed.
 * Bug fixed.

#### 1.2.2

 * Fixed: Ajax add to cart for shop/category/Taxonomy page issue fixed.
 * Bug fixed.

#### 1.2.0

 * Cart Page auto Update on change qty at Cart Page.
 * Compatibility Shoptimizer Theme added
 * Compatibility Pricon Theme added
 * Nonce update

#### 1.1.9

 * Nonce issue fixed.
 * Added: new setting field added for input box height and width.
 * Add input box width change option
 * Add input box height change option
 * Bug Fix
 * Code Optimized

#### 1.1.8

 * Live support Disable Option
 * Backend Design update
 * Divi theme’s quantity box issue has been solved
 * Bug Fix
 * Code Optimized

#### 1.1.7

 * input box right margin issue has been solved.

#### 1.1.6

 * Added: Quantity box for Shop Page
 * Added: Quantity box for All Archive/Tag/Category/Taxonomy Page
 * Bug Fix
 * Code Optimized

#### 1.1.5

 * Little CSS issue fixed for Cart page.
 * Bug Fix

#### 1.1.4

 * More Setting added.
 * Input box style added.
 * Added Hover background color.
 * Added Hover border color.
 * Added Hover font color.
 * Bug Fix

#### 1.1.3

 * Live support from CodeAstrology button Added
 * Spelling fix on html markup
 * Bug Fix

#### 1.1.2

 * Minor Error fixed
 * Tested with Latest WordPress and Updated
 * Tested with Latest WooCommerce and Updated
 * Compatibility Check with More Theme And Plugin
 * Compatible with [Woo Product Table (Poduct Table Plugin for WooCommerce by CodeAstrology)](https://github.com/autocircled)
 * Bug Fixed

#### 1.0.6

 * Change demo link
 * Bug fixed

#### 1.0.6

 * Hide on Mini Cart page
 * Bug fixed

#### 1.0.5

 * Setting link fixed
 * name fixed
 * Bug fixed

#### 1.0

 * Initial release

## 额外信息

 *  版本 **2.0.9**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 4.0.0 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 5.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/wc-quantity-plus-minus-button/) 
   和 [French (France)](https://fr.wordpress.org/plugins/wc-quantity-plus-minus-button/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/wc-quantity-plus-minus-button)
 * 标签
 * [plus minus button](https://cn.wordpress.org/plugins/tags/plus-minus-button/)
   [qty button](https://cn.wordpress.org/plugins/tags/qty-button/)[quantity](https://cn.wordpress.org/plugins/tags/quantity/)
   [woocommerce quantity](https://cn.wordpress.org/plugins/tags/woocommerce-quantity/)
 *  [高级视图](https://cn.wordpress.org/plugins/wc-quantity-plus-minus-button/advanced/)

## 评级

 4.4 星（最高 5 星）。

 *  [  25 条 5 星评价     ](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/?filter=2)
 *  [  4 条 1 星评价     ](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/reviews/)

## 贡献者

 *   [ CodeAstrology IT Firm ](https://profiles.wordpress.org/codeastrology/)
 *   [ Saiful Islam ](https://profiles.wordpress.org/codersaiful/)
 *   [ Bizzplugin ](https://profiles.wordpress.org/bizzplugin/)
 *   [ Md. Ibrahim Khalil ](https://profiles.wordpress.org/mdibrahimk48/)
 *   [ UnikForce ](https://profiles.wordpress.org/unikforce/)
 *   [ Fazle Bari ](https://profiles.wordpress.org/fazlebari/)

## 支持

最近两个月解决的问题：

     总计 2，已解决 2

 [查看支持论坛](https://wordpress.org/support/plugin/wc-quantity-plus-minus-button/)