Limit Cart Quantity | Product Quantity Restriction
by Cerevantix Technologies https://cerevantix.com$ 29.00
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.
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.
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.
This app speaks your language.
Tell us the language your team works in and we translate this module for you, free of charge — so everyone works in the language they know best.
Request my free translation →No hidden fees. No subscription.
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.
See it in action
From rule setup to shopper-facing warnings and the compliance dashboard.
Every quantity rule in one list, with its scope, minimum, maximum, and active state at a glance.
Configure scope, minimum and maximum, dynamic stock-based cap, and custom messages for a single rule.
Store-wide defaults: enable warnings, set a global minimum and maximum, and choose the enforcement mode.
The Cart Rules stat button on the product form links straight to the rules that apply to that product.
Every warned, clamped, blocked, and overridden event logged with the product, customer, and order.
Sales staff override a blocked order directly from the sale order form, with a reason required and logged.
Shoppers see the applicable minimum and maximum right on the product page, before adding to cart.
The cart warns the shopper as soon as a quantity is out of range, with a clear message explaining the fix.
Frequently asked
Can I set both a minimum and a maximum on the same product?
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.
Can limits apply to a whole category, a website, or a customer segment instead of one product?
Yes. Rules can be scoped to a product, a product category, a specific website, or a customer segment (partner tag), and combined. When more than one rule could apply, the most specific one wins.
What happens to the maximum when stock runs low?
If a rule has the dynamic maximum option enabled, its effective cap is tied to live on-hand or forecasted stock, so the per-order limit tightens automatically as inventory drops — no manual editing required.
Can staff still confirm an order that violates a limit?
Yes, if allowed by your enforcement mode. A sales user can override the block from the sale order form by entering a reason, which is written to the compliance log along with everyone else's warnings and blocks.
Get in Touch
Have questions or need customization? Every purchase includes 30 days of free support — we are here to help.
Visit Our Website
www.cerevantix.comExplore our apps, services, and portfolio.
Empowering growth through technology.
Limit Cart Quantity enforces minimum and maximum per-order purchase quantities on your Odoo eCommerce store, with pre-checkout warnings, hard checkout enforcement, and a compliance dashboard.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• eCommerce (website_sale) • Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 891 |
| Technical Name |
cerevantix_limit_cart_quantity |
| License | OPL-1 |
| Website | https://cerevantix.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module