Website Early Payment Discount - Show Discounted Price
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse$ 25.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 146 |
| Technical Name |
website_early_payment_price |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• eCommerce (website_sale) • Discuss (mail) • Invoicing (account) |
| Lines of code | 146 |
| Technical Name |
website_early_payment_price |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
Website Early Payment Discount
Display early payment discounted prices prominently on product detail pages and shop listing cards. Encourage faster payment by showing customers exactly how much they save when paying within the early payment period defined in their payment terms.
Odoo allows configuring early payment discounts on customer payment terms (e.g., 2% discount if paid within 10 days). However, these discounts are not displayed anywhere on the website - customers only discover them when they receive their invoice.
This creates missed opportunities:
- Customers are unaware of available discounts at the time of purchase
- Businesses miss out on faster payment collection
- Cash flow improvement opportunities are wasted
- No visual incentive to choose early payment options
This module automatically detects the customer's payment terms and displays the early payment discounted price prominently on both the product detail page and shop listing cards. When a customer has payment terms with an early discount (e.g., 2% 10 Net 30), the discounted price is shown with a clean, modern badge below the regular price - creating a powerful visual incentive to pay early.
- Product Detail Page Display: Shows early payment discounted price below regular price with professional badge styling
- Shop Listing Card Display: Compact early payment price shown on each product card in category/shop views
- Automatic Detection: Reads customer's payment terms from their partner record
- Dynamic Price Calculation: Automatically calculates discounted price based on product list price and discount percentage
- Responsive Layout: Adapts gracefully to mobile and tablet viewports
- Zero Configuration: Works automatically once payment terms with early discount are configured
1. Configure Payment Terms with Early Discount
Go to Accounting â Configuration â Payment Terms â Create/Edit term with early discount percentage.
2. Assign Payment Terms to Customer
Assign the payment term to the customer's partner record. The module automatically detects this.
3. Product Detail Page - Early Payment Price Display
Logged-in customers see the early payment discounted price in a prominent green badge below the regular price.
4. Shop Listing Cards - Compact Price Display
Each product card shows the early payment price in a compact format, right below the regular price.
Installation & Configuration
- Install the Module: Install through Odoo Apps or manually copy to addons path
- Dependencies: Requires
website_salemodule - Restart Server & Update: Restart Odoo and update the app list
- Configure Payment Terms: Go to Accounting â Configuration â Payment Terms
- Set Early Discount: Create or edit a payment term â Enable "Early Discount" â Set discount percentage and days
- Assign to Customers: Assign the payment term to customer partner records (Sales & Purchases tab)
- Test: Log in as a customer with assigned payment term â Browse shop â Early payment price appears
Step 1: Configure Payment Terms with Early Discount
Navigate to Accounting â Configuration â Payment Terms.
Create a new payment term or edit an existing one. Enable "Early Discount" and set:
- Discount Percentage: e.g., 2% (for terms like "2% 10 Net 30")
- Early Discount Days: Number of days after invoice date to qualify (e.g., 10 days)
Step 2: Assign Payment Terms to Customer
Go to Sales â Customers (or Contacts). Open a customer record.
Under the "Sales & Purchases" tab, set "Payment Terms" to the term you configured with early discount.
Important: The customer must be logged into the website for the early payment price to appear.
Step 3: Browse Shop as Logged-in Customer
Log into the website using the customer account. Navigate to the shop or product detail pages. The module automatically:
- Detects the customer's payment terms
- Checks if early discount is enabled
- Calculates the discounted price (regular price à (1 - discount%))
- Displays the discounted price in a prominent badge
Step 4: Understanding the Display
The early payment price appears in two locations:
- Product Detail Page: Full-size badge below the regular price with â¡ icon and "EARLY PAYMENT" label
- Shop Listing Cards: Compact badge directly below the product price on each card
Step 5: Checkout Process
When the customer proceeds to checkout and selects the payment term, the early discount is automatically applied to the invoice. The website display serves as a pre-purchase incentive, encouraging customers to choose early payment terms.
Pro Tip - Business Benefits of Early Payment Display
Displaying the early payment price at the point of purchase creates a powerful psychological incentive. Customers see exactly what they save by paying early, which significantly increases the likelihood they'll choose early payment terms. This improves your cash flow by reducing days sales outstanding (DSO) and minimizes collection costs.
Important Note
The early payment price display is based on the customer's assigned payment term in their partner record. If a customer does not have a payment term with early discount assigned, no badge is shown. This allows you to offer early payment incentives selectively to specific customer segments.
B2B Wholesale
Offer 2% 10 Net 30 terms - show discounted price to encourage early payment and improve cash flow.
Subscription Businesses
Offer discounted rates for annual prepayment vs monthly billing - display savings prominently.
Government & Education
Public sector customers often have net 30+ terms - early payment incentives accelerate collection.
Manufacturing
Offer tiered early payment discounts based on order volume - display savings at checkout.
Distribution Companies
Encourage retailers to pay early with visible savings on every product page.
Service Companies
Offer early payment discounts on service retainers and project-based billing.
Improved Cash Flow
Visible early payment incentives encourage customers to pay faster - reduce days sales outstanding (DSO).
Increased Conversion
Discount visibility at point of purchase increases the likelihood customers choose early payment terms.
Reduced Collection Costs
More customers paying early means fewer collection calls and lower administrative overhead.
Competitive Advantage
Professional, transparent pricing builds trust and differentiates your business from competitors.
Do You Need Assistance or Have a Feature Request?
Odoo 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