
外掛標籤
開發者團隊
② 後台搜尋「QuantifyX – Min Max Quantity Manager for Products」→ 直接安裝(推薦)
原文外掛簡介
QuantifyX is a lightweight yet powerful WooCommerce plugin that allows store owners to define minimum and maximum purchase quantities for both simple products and product variations.
This plugin ensures customers cannot purchase below or above defined limits, improving inventory control, bulk selling strategies, and order consistency.
Key Features
Set minimum quantity per product
Set maximum quantity per product
Set min/max quantity per variation
Automatic fallback from variation to parent product
Real-time frontend validation using JavaScript
Server-side validation for full security
Dynamic UI updates on variation selection
Displays minimum quantity on shop/archive pages
No settings required – works directly in product editor
Lightweight and optimized for performance
Applied on Unlimited products no need to buy pro verison
Use Cases
Wholesale stores enforcing bulk orders
Limited stock items with purchase caps
B2B platforms with minimum order quantities
Promotional campaigns with quantity restrictions
How It Works
Admin sets min/max quantity on product or variation level
On product page:
Quantity input updates dynamically
Minimum label is shown
On add-to-cart:
JavaScript prevents invalid submissions
On cart/checkout:
Server-side validation ensures rules are enforced
Technical Details
Uses WooCommerce hooks and filters
Data stored as post meta:
_min_qty
_max_qty
JavaScript handles dynamic UI updates
PHP enforces server-side validation
Security
Sanitized input using intval()
Escaped output using esc_html() and esc_attr()
No direct access allowed (ABSPATH checks)
Server-side validation prevents bypass
Performance
No database overhead
No external API calls
Minimal JavaScript footprint
Loads only on product pages
Future Roadmap
Global quantity rules
Category-based quantity limits
Bulk editing support
REST API integration
Analytics dashboard
Support
For support or feature requests, please contact the developer.
License
This plugin is licensed under the GPLv2 or later.
This means you are free to:
– Use
– Modify
– Distribute
Credits
Developed by Infinite Innovate
Tags
woocommerce quantity limit, min max quantity woocommerce, product quantity control, woocommerce validation plugin
