=== Limit Quantity for WooCommerce === Contributors: imemine Tags: WooCommerce, cart, e-commerce, quantity, limit, maximum quantity, cart maximum Requires at least: 4.0 Tested up to: 6.7.1 Requires PHP: 5.6 Stable tag: trunk License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Set maximum quantity limits for WooCommerce products, restricting customer purchases per product. == Description == Limit Quantity for WooCommerce lets you set maximum purchase limits for individual WooCommerce products. Add a field in the product edit screen to define the maximum allowed quantity per product. ### Features - Define custom maximum purchase quantities for individual products. - Automatically reduce cart quantities exceeding the limit. - Display clear notices for adjusted cart quantities. == Installation == 1. Upload `limit-quantity-for-woocommerce` to the `/wp-content/plugins/` directory. 2. Activate the plugin through the **Plugins** menu in WordPress. 3. Edit a WooCommerce product and set a maximum quantity in the **Inventory** section. == Frequently Asked Questions == = Does this plugin work with variable products? = Currently, this plugin does not support variable products. = What happens if a customer already has items in their cart exceeding the limit? = The plugin automatically reduces the quantity in the cart to the maximum allowed and displays a notice to the customer. = Does this plugin limit total cart quantities? = No, this plugin applies limits per product. For cart-wide limits, use other dedicated plugins. == Changelog == = 2.0 = * Improved security with better nonce and sanitization checks. * Enhanced frontend notices for better user experience. * Fixed JavaScript issues and improved compatibility with jQuery. = 1.4.2 = * Initial release. == Upgrade Notice == * Update to 2.0 for improved security and user experience.