Set the right order quantities
Enforce minimum and maximum purchase quantities on your eCommerce cart — warn shoppers early, block non-compliant checkouts, and protect scarce stock from hoarding, all with a compliance dashboard to prove it.
The problem
Odoo's native eCommerce has no clean way to enforce purchase-quantity rules. Small, unprofitable orders slip through with no minimum, and a handful of buyers can empty scarce inventory with no maximum. Merchants end up cancelling orders, issuing refunds, and fielding support tickets after the fact instead of preventing the problem at the cart.
The solution
Define two-sided minimum and maximum order-quantity rules per product, category, website, or customer segment. Shoppers see the applicable limit in the cart and on the product page before they hit checkout, quantities are clamped or blocked automatically, and every event lands in a compliance dashboard your team can review.
Everything you need to control order quantities
Every capability below is implemented in the module.
Minimum & maximum quantity rules
Set a per-order minimum to protect margin on wholesale lines and a maximum to stop hoarding — both on the same rule, so the full purchasing policy for a product lives in one place.
Product, category, website & segment scoping
Scope a rule to a single product, an entire product category, a specific website, or a customer segment — and combine them. The most specific matching rule always wins.
Inventory-aware dynamic maximum
Cap the per-order maximum to live on-hand or forecasted stock so the limit tightens automatically as inventory runs low — no manual rule edits during a launch or promotion.
Pre-checkout warnings
Shoppers see the applicable minimum and maximum on the product page, and get a clear message in the cart the moment a quantity is out of range — long before checkout.
Hard checkout enforcement
Orders that still violate a minimum or maximum are blocked at payment and at confirmation, so no non-compliant order ever reaches fulfillment.
Logged admin override
Sales staff can override a blocked order with a required reason, right from the sale order form — every override is written to the compliance log.
Compliance dashboard
A graph, pivot, and list view of every warning, clamp, block, and override — filterable by product, event type, website, and customer — so you always know which limits are triggering.
Global defaults & enforcement mode
Set store-wide default minimum and maximum quantities from Settings, toggle warning messages on or off, and choose whether violations hard-block or allow a logged override.
Rules smart button on every product
A stat button on the product form shows how many quantity rules apply and jumps straight to them, so managers can audit a product's purchasing policy in one click.
How it works
Create a rule
Scope it to a product, category, website, or customer segment — or leave it global.
Set the limits
Enter a minimum, a maximum, or both — optionally tied to live stock levels.
Shoppers get warned
Limits show on the product page and the cart automatically clamps or flags quantities.
Checkout is enforced
Violations are blocked or logged with an override reason, and every event lands on the dashboard.
Frequently asked
No sales fog. If your question isn't here, email us and we'll answer it the same way.
Yes. A single rule can carry both a minimum and a maximum quantity, so the full purchasing policy for a product lives in one place instead of being split across two apps.
Buy it on the Odoo App Store
Purchase, download and install directly from the official Odoo Apps Store — you'll always get the latest supported build.
Limit Cart Quantity | Product Quantity Restriction
Per-order minimum and maximum quantity rules scoped by product, category, website or customer segment — warned in the cart, hard-enforced at checkout, and tracked on a compliance dashboard.
Buy on Odoo App Store