| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 292 |
| Technical Name |
codusic_website_product_cart_quantity_limit |
| License | OPL-1 |
| Versions | 16.0 17.0 18.0 19.0 |
Website Product Cart Quantity Limit
The Website Product Cart Quantity Limit module allows you to define minimum and maximum purchase quantities for each product. Customers are guided with clear warning messages if they try to buy less than the minimum or more than the maximum quantity.
✨ Features
- ⚙️ Set Minimum and Maximum cart quantities directly on each product.
- 💬 Customers get instant warning messages on the product page if quantity limits are not met.
- 🛒 Cart page prevents adding more than the allowed maximum quantity and warns if quantity falls below the minimum.
- 🌐 Fully compatible with Odoo eCommerce and website cart functionality.
- 🔒 Ensures customers are aware of quantity restrictions before checkout.
⚙️ Workflow
- Go to eCommerce → Products to view all products.
- Open a product and configure the Minimum and Maximum Cart Quantity fields.
-
On the product page:
- If the product has a minimum quantity set, a warning message appears immediately when the page loads.
- If the user selects a quantity below the minimum, a warning message is shown.
- If the user increases the quantity above the maximum, a warning appears and further increments are prevented.
-
On the cart page:
- Increasing quantity beyond the maximum triggers a warning and disables further increments.
- Decreasing quantity below the minimum triggers a warning and disables further decrements.
📸 Screenshots
1. Go to eCommerce → Products
View all products in your online store from the eCommerce product list.
2. Select Product to Set Min & Max Quantity
Open a product to configure its minimum and maximum cart quantities.
3. Set Maximum and Minimum Cart Quantity
Configure the maximum and minimum cart quantity fields on the product page.
4. Minimum Quantity Alert on Product Page Load
When the product page loads, if the product has a minimum cart quantity set, a warning message appears immediately.
5. Maximum Quantity Warning on Product Page
When the user tries to increase the product quantity above the maximum allowed, a warning message appears.
6. Maximum Quantity Warning on Cart Page
In the cart page, increasing quantity beyond the maximum allowed triggers a warning message.
7. Minimum Quantity Warning on Cart Page
In the cart page, decreasing quantity below the minimum triggers a warning message.
📩 Contact Us
Codusic Technology
We specialize in Odoo Website modules, eCommerce extensions, and ERP business solutions. Contact us for support, customization, or integration assistance.
✉️ Get in TouchOdoo 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