Title: Quantity Buttons for WooCommerce
Author: RLDD
Published: <strong>2019 年 3 月 13 日</strong>
Last modified: 2025 年 3 月 8 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/woo-quantity-buttons/assets/icon-256x256.png?rev=2271050)

# Quantity Buttons for WooCommerce

 作者：[RLDD](https://profiles.wordpress.org/rermis/)

[下载](https://downloads.wordpress.org/plugin/woo-quantity-buttons.zip)

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

 [支持](https://wordpress.org/support/plugin/woo-quantity-buttons/)

## 描述

Add plus and minus quantity buttons to the WooCommerce Legacy Cart (does not support
cart blocks).

#### Special Features

 * Responsive design for mobile
 * Generic aesthetic that integrates with your storefront design
 * Zero setup and configuration, just install and activate the plugin
 * No impact to WooCommerce templates
 * Easily controlled with CSS class: .woocommerce button.qty

## 屏幕截图

[⌊Mobile Example⌉⌊Mobile Example⌉[

Mobile Example

[⌊Desktop Example⌉⌊Desktop Example⌉[

Desktop Example

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/woo-quantity-buttons` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the \’Plugins\’ screen in WordPress
 3. Visit any WooCommerce product page or cart to see the quantity buttons

## 常见问题

### Where do the quantity buttons show up?

Visit any WooCommerce public-facing product page, or the WooCommerce cart. The quantity
buttons will appear adjacent to the quantity number field.

### Where can I get support?

Reach out to us anytime for [additional support](https://richardlerma.com/#contact).

### The buttons are not the right size, shape, or color

Customize the buttons using CSS class .woocommerce button.qty
 For example, if your
theme supports it navigate to Appearance > Customize > Additional CSS and paste 
in .woocommerce button.qty{ background:lightgray; color:#555; padding:.3em; } Alternately,
add the CSS to your theme’s stylesheet under Appearance > Theme Editor: .woocommerce
button.qty{ background:lightgray; color:#555; padding:.3em; }

## 评价

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

### 󠀁[great plugin, support](https://wordpress.org/support/topic/great-plugin-support-304/)󠁿

 [carbs44](https://profiles.wordpress.org/carbs44/) 2022 年 4 月 20 日

plugin works as described and support is awesome.

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

### 󠀁[Нет настроек](https://wordpress.org/support/topic/%d0%bd%d0%b5%d1%82-%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b5%d0%ba/)󠁿

 [Aleksandr](https://profiles.wordpress.org/tooweb/) 2022 年 4 月 19 日

Нет настроек, невозможно отключить отображение этих кнопок в архиве и на странице
товара или в корзине по отдельности. Тоесть нет возможности применение плагина только
к определенной категории страниц.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/woo-quantity-buttons/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ RLDD ](https://profiles.wordpress.org/rermis/)

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

[帮助将「Quantity Buttons for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/woo-quantity-buttons)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.1.12

 * Compatibility with WC 9.7 and WP 6.7.

#### 1.1.9

 * CSS updates. Compatibility with WC 9.

#### 1.1.8

 * Compatibility with WC 8.6 and WP 6.4.

#### 1.1.5

 * Hide buttons when quantity disabled.

#### 1.1.4

 * Compatibility with WC 8.0 and WP 6.3.

#### 1.1.3

 * Compatibility with WC 7.9 and WC HPOS.

#### 1.1.0

 * WC Custom orders table compatibility checks.

#### 1.0.20

 * Accommodation for custom admin URL

#### 1.0.19

 * Compatibility with WC One Page Checkout

#### 1.0.15

 * Updates to plugin name

#### 1.0.10

 * Updated FAQs and features to include CSS classes

#### 1.0.7

 * Improved button CSS

#### 1.0.6

 * WooCommerce version compatibility testing and indicator

#### 1.0.5

 * Improved plugin description and tags

#### 1.0.4

 * Add top margin for add-to-cart button

#### 1.0.2

 * Improvements to JS update_cart behavior and class application

#### 1.0.1

 * Helper function fixes

#### 1.0.0

 * Basic functionality created

## 额外信息

 *  版本 **1.1.12**
 *  最后更新：**1 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/woo-quantity-buttons/) 和 [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/woo-quantity-buttons/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/woo-quantity-buttons)
 * 标签
 * [buttons](https://cn.wordpress.org/plugins/tags/buttons/)[minus](https://cn.wordpress.org/plugins/tags/minus/)
   [plus](https://cn.wordpress.org/plugins/tags/plus/)[quantity](https://cn.wordpress.org/plugins/tags/quantity/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/woo-quantity-buttons/advanced/)

## 评级

 3 星（最高 5 星）。

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

[Your review](https://wordpress.org/support/plugin/woo-quantity-buttons/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/woo-quantity-buttons/reviews/)

## 贡献者

 *   [ RLDD ](https://profiles.wordpress.org/rermis/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/woo-quantity-buttons/)