內容簡介
Sawir Min Max Quantities for WooCommerce 讓商店擁有者能夠控制顧客的購買數量。可設定每個產品、變體、產品類別的最小、最大及「組合」數量,並在產品頁面、購物車及結帳頁面強制執行這些規則。
【主要功能】
• 設定產品的最小、最大及組合數量
• 支援每個變體的數量覆蓋設定
• 針對產品類別設定數量限制
• 在購物車中應用類別的數量規則
• 強制執行購買數量規則
• 安裝後無需配置,規則為選用
外掛標籤
開發者團隊
② 後台搜尋「Sawir Min Max Quantities for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Sawir Min Max Quantities for WooCommerce lets store owners control how many items customers can buy. Set minimum, maximum, and “group of” multiple quantities per product, per variation, per product category, and for the total number of items in an order. Rules are enforced on product page quantity inputs, when adding to cart, and again on the cart and checkout pages.
Developed by Ricardo Sawir for Sawir Studio LLC.
Website: https://sawirstudio.com
X: https://x.com/RicardoSawir
GitHub: https://github.com/sawirricardo
Email: [email protected]
More plugins by Sawir Studio
Sawir Insights — heatmaps, session recordings, surveys, funnels, and form analytics — all self-hosted.
Sawir Live Translate — translate any front-end page live and let visitors switch languages.
Sawir Restock Notifier for WooCommerce — let customers request an email when an out-of-stock product is back.
Sawir Product Image Zoom for WooCommerce — product image lightbox with navigation and click-to-zoom.
Sawir Variation Gallery Tools for WooCommerce — manage variation-specific gallery images.
Sawir Role Capabilities Manager — create custom user roles and manage capabilities.
Sawir Media Folders — organize the Media Library into fast, unlimited folders with drag & drop.
Features
Adds minimum, maximum, and group-of quantity fields to the product Inventory tab.
Adds optional minimum, maximum, and group-of overrides to each variation.
Adds minimum, maximum, and group-of quantity fields to product categories.
Lets category rules apply to the combined cart quantity for that category instead of as a per-product fallback.
Adds order-level minimum and maximum item limits under WooCommerce > Settings > Products > General.
Applies a clear precedence: a variation rule wins; otherwise a product rule wins; otherwise the most restrictive unchecked category fallback applies.
Variations inherit empty fields from their parent product or category fallback.
Enforces rules on product page and variation quantity inputs, including step values for group-of multiples.
Blocks add-to-cart actions that would exceed a product maximum.
Validates all rules on the cart and checkout pages with clear error notices, including multiples such as “must be purchased in multiples of N.”
Leaves quantity inputs on the cart page free to reach zero so items can still be removed.
Requires no configuration to install; rules are optional everywhere.
Cleans up all plugin options and metadata when the plugin is uninstalled.
