| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Discuss (mail) • Invoicing (account) |
| Lines of code | 929 |
| Technical Name |
website_quantity_buttons |
| License | LGPL-3 |
| Versions | 17.0 18.0 19.0 |
Odoo 19.0
Website Quantity Buttons
Add quantity buttons on product cards and product detail pages with dynamic price update, quantity-based discount badges, and savings display.
Key Features
- Quantity buttons on shop cards and product detail page.
- Custom values like 1,2,3 or 1,2,3,4,5,6 (up to 6 buttons).
- Custom label support: Unit, Pack, Box, etc.
- Website-level default configuration with optional product-level override.
- Automatic badge and savings line from quantity-based pricelist rules.
- Responsive behavior for desktop and mobile.
Configuration Step by Step
Step 1. Install Module
- Install Website Quantity Buttons from Apps.
- Confirm dependency website_sale is installed.
Step 2. Configure Website Defaults
- Go to Website > Configuration > Websites.
- Open your website and select tab Quantity Buttons.
- Enable Website Quantity Buttons.
- Set Website Quantity Values (example: 1,2,3,4,5,6).
- Set Website Quantity Label (example: Unit).
Website-level configuration
Step 3. Optional Product-Specific Setup
- Go to Sales > Products > Products.
- Open the product and go to tab Website Quantity Buttons.
- Enable Website Quantity Buttons for that product.
- Set product-specific quantity values and label if needed.
Priority: if product-level is enabled, product settings are used first; otherwise website defaults are used.
Product-level override
Step 4. Configure Pricelist Rules
- Go to Sales > Products > Pricelists.
- Open the pricelist used by your website.
- Add rules with Min. Quantity values (2, 3, 4, 5, 6).
- Set discount or fixed price per quantity break.
- Use this pricelist on website to show discount badges and savings.
Pricelist quantity discount setup
Step 5. Verify in Storefront
- Open shop and product detail pages.
- Select different quantity buttons and verify live price update.
- Confirm discount badge and savings line appear for discounted quantities.
Technical Notes
- Dependency: website_sale.
- No core override; implemented via inherited views and frontend assets.
- Compatible with Odoo multi-website setups.
Support
- Maintainer: Hameed Pvt.Ltd
- Email: nadeemwazir0123@gmail.com
Company Details
- Author: Muhammad Nadeem (nk)
- Price: $55 (USD)
Please log in to comment on this module