Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Website Sale Variant Auto Switcher v 19.0
  4. Sales Conditions FAQ

Website Sale Variant Auto Switcher

by Codemarchant https://codemarchant.com
Odoo

$ 115.95

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Discuss (mail)
• Invoicing (account)
Lines of code 173
Technical Name website_sale_variant_auto_switch
LicenseOPL-1
Websitehttps://codemarchant.com
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Discuss (mail)
• Invoicing (account)
Lines of code 173
Technical Name website_sale_variant_auto_switch
LicenseOPL-1
Websitehttps://codemarchant.com
Versions 17.0 18.0 19.0
  • Description
  • License

Website Sale Variant Auto Switcher

Improve customer experience with automatic variant switching

Overview

This module enhances the product variant selection experience in your Odoo eCommerce store by automatically switching to valid product combinations instead of showing frustrating "This combination does not exist" error messages.

Similar to how major eCommerce platforms like Amazon handle variant selection, this module intelligently guides customers to available product combinations, reducing cart abandonment and improving conversion rates.

Key Features

Automatic Variant Switching

When a customer selects an invalid combination of product attributes, the module automatically switches to the closest valid combination that matches their intent.

Works with Odoo's Visual Indicators

Works seamlessly with Odoo's built-in visual indicators that show unavailable options, automatically switching to valid alternatives when customers select them anyway.

Preserves User Intent

The automatic switching algorithm prioritizes customer preferences by choosing the closest matching valid variant based on their selections.

Theme Compatible

Works seamlessly with all Odoo themes without requiring custom styling. The module integrates naturally with your existing website design.

How It Works

Product page showing unavailable variant options

Product Page with Variant Selection

In this example, the customer has selected "Aluminium" for the Legs attribute. Notice how the "Black" option is crossed out, indicating it's not available with the current selections. This behavior is part of Odoo out of the box, using either the "Exclude for" setting or archived variant configurations.

Product page after variant switching

Automatic Variant Switching in Action

When the customer clicks the "Black" color attribute, instead of showing a "This combination does not exist" error, the module automatically switches to the closest valid variant that includes Black. The algorithm favors keeping as many of the current selections as possible. In this case, the "Aluminium" option is automatically switched to "Steel" while Black is preserved.

Shop page with variant attribute filters

Enhanced Shop Page Experience

Works with standard out-of-the-box Odoo product configurations. Use the "Exclude for" setting or archive variants to disable certain attribute combinations.

combination does not exist page

No more "This combination does not exist."

Limitations: Automatic switching works for all variant types, but cannot help when selecting an attribute value in the following circumstances:

  • Attributes with variant creation set to "Never" (no_variant)
  • Dynamic attributes where no variant has been created yet for the selected value (no existing variants to switch to)
  • When no valid combination exists at all for your selection

Benefits

Reduced Cart Abandonment

Customers are less likely to leave when they don't encounter confusing error messages.

Improved User Experience

Smooth, intuitive variant selection similar to major eCommerce platforms.

Higher Conversion Rates

Making it easier for customers to find valid products increases sales.

Professional Appearance

Your store behaves like established eCommerce platforms customers trust.

No Configuration Required

Works automatically after installation with your existing product variants.

Safe & Reliable

Only affects interactive product pages, not orders or historical data.

Technical Details

Backend Controller

Intercepts variant combination requests and intelligently determines the closest valid combination

Frontend JavaScript

Automatically updates the user interface to reflect the valid combination selected by the backend

Intelligent Algorithm

Preserves as many of the customer's original selections as possible when finding a valid alternative

Seamless Integration

Works with Odoo's built-in exclusion styling to provide a smooth experience without requiring custom CSS

Installation & Compatibility

Installation Steps

  1. Download and install the module through the Odoo Apps interface
  2. The module activates automatically for all products with variants
  3. No configuration or setup required
  4. Compatible with all standard Odoo themes

Get Started Today

Install this module to provide your customers with a smoother, more professional product selection experience that matches the best eCommerce platforms.

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with