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 of the product 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.
2021年6月16日
This plugin is Great, he work on the Shortcode [add_to_cart] too. and Work fine with Ajax. Recomended!
阅读所有14条评价

贡献者及开发者

“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.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