| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) • Discuss (mail) |
| Lines of code | 136 |
| Technical Name |
tgm_website_minimum_quantity |
| License | LGPL-3 |
| Website | https://thegreatmerch.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) • Discuss (mail) |
| Lines of code | 136 |
| Technical Name |
tgm_website_minimum_quantity |
| License | LGPL-3 |
| Website | https://thegreatmerch.com |
Minimum Order Quantity for Odoo Website
Set per-product minimums. Enforce them automatically. No undercutting.
Product pages automatically show the minimum quantity as the default.
Why your store needs this
If you sell products that only make commercial sense above a certain quantity — whether that’s due to manufacturing minimums, packaging constraints, or wholesale policies — you need a way to enforce that on your website. This module lets you set a minimum per product and enforces it automatically on both the product page and in the cart.
Features
Per-product minimums
Set a different minimum quantity on each product template. Products without a minimum behave normally.
Automatic enforcement
If a customer enters a quantity below the minimum, it’s automatically corrected — on the product page and in the cart.
Smart defaults
The quantity field on the product page starts at the minimum, so customers see the correct starting point immediately.
Multi-website support
Enable or disable the feature per website via a simple toggle in Website Settings.
Cart protection
Minimum quantities are enforced in the cart too. Customers can’t reduce below the threshold after adding to cart.
Simple setup
One toggle in settings, one field per product. No complex configuration needed.
Simple toggle in Website Settings to enable the feature.
How it works
- Install the module and enable it in Website > Configuration > Settings.
- Set the Minimum Order Quantity field on each product that needs it.
- The product page quantity field defaults to the minimum.
- If a customer enters a lower number, it’s automatically adjusted.
- The same enforcement applies in the shopping cart.
Set the minimum quantity directly on the product form.
Technical details
- Version: Odoo 18.0
- Depends on:
website_sale(standard) - New fields: Minimum Order Quantity on product template, Enable toggle on website settings
- Affects: product page quantity input, cart quantity updates
- Multi-website: supported (enable per website)
- Documentation: full
README.rstincluded
FAQ
What happens if I don’t set a minimum on a product?
It defaults to 1, so the product behaves exactly as normal.
Can customers still remove items from the cart?
Yes. Setting quantity to 0 (removing the item) is still allowed. The minimum only prevents quantities between 1 and the minimum.
Does it work with product variants?
The minimum is set at the product template level and applies to all variants of that product.
Can I have different minimums on different websites?
The minimum quantity is set per product (shared across websites). The enable/disable toggle is per website, so you can choose which websites enforce minimums.
Is it compatible with other TGM modules?
Yes. It works alongside the Pricing Table, Encouraging Price, and Price Range modules.
Stop undersized orders today
Install, set your minimums, and let the module handle the rest.
Developed by The Great Merch Co.
Support: hello@thegreatmerch.com • thegreatmerch.com
© 2025 The Great Merch Co. Licensed under LGPL-3.
Please log in to comment on this module