Quantity Field on Shop Page for WooCommerce

描述

This plugin displays the quantity field on the shop page of WooCommerce stores so customers can change the quantity before adding to cart.

屏幕截图

  • This is where the quantity field would appear

安装

Installation via WordPress Dashboard

  1. Go to your WordPress Dashboard and click on “Plugins”

  2. Click on “Add New” and search for “Quantity Field on Shop Page for WooCommerce”.

  3. Click on Install and activate the plugin.

Installation via FTP

  1. Download the plugin files and extract to the ‘/wp-content/plugins/’ directory.

  2. Go to your WordPress Dashboard, and activate the plugin from the Plugins page.

  3. Plugin should work out of the box, no settings necessary.

常见问题

Will this work with other ecommerce plugins?

No, the plugin was created to work only with WooCommerce.

Where is the settings page?

There is no settings page. The quantity field should be visible on your store the moment you activate the plugin.

评价

2022 年 10 月 22 日
I reported an easy-to-fix bug 8 months ago (and others have also reported it), but still no response from the dev, and no fix 🙁 wordpress.org/support/topic/log-error-stock_quantity-was-called-incorrectly
2022 年 8 月 6 日
Thank you for a great plugin. Tested with oceanWP free theme and it works a treat.
2022 年 2 月 17 日
I have been trying to add qty to DIVI products page. This snippet added the ADD TO CART button: add_action(‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 9); but not Quantity. Using this plugin solved that problem – for DIVI you may need the snippet and the plugin.
2021 年 12 月 13 日
add_filter( 'woocommerce_quantity_input_args', array( $this, 'woa_woocommerce_quantity_input_args' ), 10, 2 ); This is automatically adding 1 default qty to single grouped product page. So all associated grouped products have 1 default qty and our users have to set to 0 individually among 50 products in group. can you handle this feature individually please? I am not why this filter is used but for the group products, its really conflict.
阅读所有17条评价

贡献者及开发者

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

贡献者

「Quantity Field on Shop Page for WooCommerce」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Quantity Field on Shop Page for WooCommerce」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.4.2

  • updated WordPress stable version

1.4.1

  • fixed bug where quantity of all items in a grouped product cannot be set to zero thus preventing customization of the bundle

1.4.0

  • added min and max limits based on stock

1.3.0

  • updated old codes

1.2.0

  • fixed compatibility with WooCommerce 4.0

1.0.0

  • Initial release