Is there a standard way of setting up a minimum order quantity in the online shop for certain variants?
For example for variant X it's possible to order 1 and for variant Y the qty is set to 3.
Thank you
Ricardo
Is there a standard way of setting up a minimum order quantity in the online shop for certain variants?
For example for variant X it's possible to order 1 and for variant Y the qty is set to 3.
Thank you
Ricardo
There is no native feature in Odoo eCommerce to enforce a different minimum order quantity for each product variant. The closest standard options are using Pricelist rules with a minimum quantity, which affects pricing but does not prevent customers from ordering lower quantities, or Product Packaging, where variants can be sold in predefined pack sizes. However, packaging is not a strict quantity restriction and customers may still be able to adjust quantities. If you need true per-variant minimum order quantities (e.g., Variant X can be ordered from 1 unit, Variant Y must be ordered in quantities of 3 or more), a customization is required.
Hope it helps
There is no native per-variant minimum order quantity in Odoo's standard eCommerce module. Here are the available workarounds:
Option 1: Use Sales Order minimum quantity on pricelist rules
Go to Website → Configuration → Pricelists, create pricelist rules with minimum quantities per variant. This affects pricing but not hard enforcement of minimum qty.
Option 2: Set minimum quantity on product variants via Pricelists (partial)
In Odoo 17/18, pricelists support quantity break pricing per variant, but this is a pricing control, not a quantity enforcement.
Option 3: Workaround using product packaging
Go to the product → Inventory tab → Product Packagings. Set packaging sizes per variant (e.g., variant X = 1 unit pack, variant Y = 3 unit pack). This nudges customers toward ordering in the right quantities, but doesn't hard-block other quantities.
Option 4: Use a separate product per variant
If variants need completely different minimum quantities (e.g., service packs of 4h vs 25h), consider creating them as separate products rather than variants. Each product can have its own minimum order quantity logic.
For hard per-variant minimum qty enforcement on the webshop:
This requires a custom module that adds a "Minimum Qty" field to product.product and enforces it in the website cart controller.
We can provide this custom module for free — contact custom@trewac.com.
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
1
mai 25
|
1860 | |||
|
2
mar. 26
|
1181 | |||
|
0
sept. 21
|
3184 | |||
|
1
mai 25
|
4578 | |||
|
0
iul. 23
|
3236 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
this requirement is very frequently demanded in many implementations working with variants and could also be used by Odoo for “Odoo service packages”
- service pack “variant” 4 hours, the quantity is 4 (minimum), generating a project/task with 4 hours
- service pack 25 hours, the quantity is 25, and so on...