Website Minimum Order Quantity
by Techieduo ERP Solutions https://apps.odoo.com/apps/modules/browse?author=Techieduo%20ERP%20Solutions$ 14.85
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 291 |
| Technical Name |
tes_website_min_qty |
| License | LGPL-3 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Techieduo%20ERP%20Solutions |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 291 |
| Technical Name |
tes_website_min_qty |
| License | LGPL-3 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Techieduo%20ERP%20Solutions |
Website Minimum Order Quantity
Enforce a configurable minimum sale quantity per product across the Odoo eCommerce flow â product page, add-to-cart action and cart line updates â with live front-end validation and server-side protection.
Key Benefits
Per-Product Minimum Qty
Set a unique minimum sale quantity directly on the product template.
Add-to-Cart Validation
Blocks add-to-cart and cart-line updates below the configured minimum.
Live Warning Message
Clear inline warning on the product page when quantity is below the minimum.
Server-Side Enforcement
Quantity rules validated on the sale order line â front-end bypass impossible.
Why Use This App?
Wholesale, bulk-pack, B2B and minimum-order-quantity (MOQ) products need to enforce a lower bound on every sale. This module adds that rule natively to your Odoo eCommerce store â without breaking the standard webshop UX and without any custom controllers.
Where the Minimum is Enforced
Every place a customer can change the quantity is validated.
| Location | Behaviour | Layer |
|---|---|---|
| Product Page | Min value applied on the qty selector + live warning | Frontend |
| Add to Cart Button | Disabled when quantity is below minimum | Frontend |
| Cart Line Update | Quantity bumped back to minimum + warning shown | Server |
| Sale Order Line | Enforced inside _verify_updated_quantity |
Server |
Technical Highlights
website_min_sale_qtyfield onproduct.template&product.product- Overrides
_verify_updated_quantityonsale.order - Hooks into
_cart_addand_cart_update_line_quantity - QWeb templates extended via
inherit_id(non-destructive) - Lightweight frontend JS â no jQuery, no extra bundles
- SCSS scoped under
#o_wsale_cta_wrapper - Multi-company & multi-website compatible
- Compatible with Odoo 19 Website Sale (Webshop)
Common Use Cases
Module Preview
Screenshots
Setting Minimum Qty on Product Template & Variants
Minimum Qty AS Default Qty
Warning Messages on Product Page, Cart and Checkout
Need Support or Customization?
For customization requests, implementation support, eCommerce enhancements, webshop development, enterprise ERP solutions, or API integrations feel free to reach out.
Please log in to comment on this module