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.
閱讀全部 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