This is a WordPress WooCommerce support plugin which will Allow the site admin to enable the feature of minimum and maximum purchase of a particular product in each product.
Admin can enable / disable this feature on each product Admin can manage the minimum and maximum limit for each product. Added feature to do increments based on the increment set by admin
- Upload the plugin files to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Select a particular product from the product list for which you need to enable this feature.
- Enable this feature and add the minimum and maximum allowed quantity in the respective boxes
- Setting up the increment, if the increment by is set other than one, the minimum order quantity should be the value of the increment set.
- Setting custom error notice / messages, in the admin panel go to Settings –> WooCommerce Minimum and Maximum Quantity Limit, there you will find 2 text area, there you can set the custom error message which will override the default error message in the product and cart page
Does it support category based minimum and maximum purchase limit ?
Currently it does not support this feature.
Does it support a central place to maintain the minimum and maximum limit for each product ?
Currently it does not support this feature, to enable this feature we need to configure these values on each product.
Woocommerce Minimum and Maximum Quantity はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。貢献者
Bug Fix: Bug fix for division or modulo by zero
Bug Fix: To set the default increment by value @tigerrockmartialarts
Bug Fix: If quantity item manually changed in the product page / cart page and if the changed quantity voids the minimum / maximum order quantity rule / the quantity increment rule then it throws error which was not earlier.
Added feature to do increments based on the increment set by admin
Added fix for wrong quantity issue in the shop page and and category pages. Thanks for the solution from @tigerrockmartialarts, @galbaras https://wordpress.org/support/topic/add-to-cart-on-variable-products/, https://wordpress.org/support/topic/minimum-qty-no-longer-working/
Changed the condition to check the product type is “simple” since we don’t support variable / grouped product
Bug fix for variable product view link
Bug fix for ajax add to cart.
Fixed the bug of double add to cart buttons
Added a condition to check the product type in the shop / category pages since it was creating problems for non supported product types.
Minor Bug Fix to overcome the double add-to-cart button in the shop and category pages.
Minor Bug Fix to fix the issue in the custom add to cart alert message section. In which single quote created problem.
Minor Bug Fix to fix double add to cart buttons in the category and shop pages.
Most awaited feature of enabling add to cart button in the shop / category page. Also added a customizable options page to display custom add to cart messages.
Minor Bug Pointed By @shibi https://wordpress.org/support/topic/error-in-the-function-wc_mmax_quantity_input_args/
Minor Bug fix pointed by @leemon
Minor Bug fix added order quantity to fix the ajax issue.
Minor Bug fix on Quantity
Minor Bug fix
WPML support addition. Suggested by @maxgx
Bug fixes related to minimum product quantity selection in the product page.
Removed the view product link.
Made corrections for plugin activation error.
Typo Corrections and standardizations. Bug fix for managed inventory products
Fixed the bug for adding same product multiple times which was adding the
product even if the maximum quantity for the product quantity is reached. Now
if the product is added multiple times and if it reached the maximum limit it
shows a popup that you have reached maximum limit for the product and exits
back to the product page