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
    • Artificial Intelligence
    • 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
    • Property 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
    • Affiliate Program
    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. eCommerce
  3. Hide / Disable Out-of-Stock Product Variants v 17.0
  4. Sales Conditions FAQ

Hide / Disable Out-of-Stock Product Variants

by Cerevantix Technologies https://cerevantix.com
Odoo

$ 79.00

v 17.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
✓ Odoo.sh✓ On-Premise✗ Odoo Online
CEREVANTIX TECHNOLOGIES

Show shoppers only what’s in stock never a dead-end variant.

Out-of-stock attribute combinations are greyed out, disabled, or hidden on the storefront — distinct from combinations that don’t exist — and the product page always opens on a variant shoppers can actually buy.

THE PROBLEM

Odoo’s storefront only greys out attribute values that lead to combinations which don’t exist. An out-of-stock but configurable variant stays fully clickable, so shoppers pick it, reach Add to Cart, and hit a wall — the exact moment they had buying intent. Across catalogs with 7+ attributes the number of dead combinations multiplies fast, and every one is a lost sale.

THE SOLUTION

This module computes real-time stock availability for every variant and folds it into the same exclusion logic Odoo already uses for impossible combinations. Out-of-stock options are greyed out and disabled, or hidden outright — the merchant’s choice, store-wide or per product — with a distinct style so shoppers can tell “temporarily out of stock” from “never existed.” The product page always opens on a variant that is actually in stock.

FREE WITH EVERY PURCHASE

This app speaks your language.

Tell us the language your team works in and we translate this module for you, free of charge — so everyone works in the language they know best.

Request my free translation  →

No hidden fees. No subscription.

BUILT IN
English
Ready the moment you install.
TRANSLATED FOR YOU — FREE, ON REQUEST
Deutsch
Français
Español
Italiano
Português
Nederlands
Svenska
Norsk
Suomi
Polski
Română
Български
Hrvatski
Lietuvių
Eesti
Українська
Русский
Türkçe
Português (Brasil)
Español (Latinoamérica)
العربية
日本語
Don’t see yours? Just name it.
HOW IT WORKS 1Buy the app → 2Email your language to support@cerevantix.com → 3Get your translation, free
CAPABILITIES

Every dead-end variant, closed off

Every capability below is implemented in the module.

01

Fully Non-Interactive Options

Out-of-stock attribute values are not just greyed — they are disabled outright, so shoppers can never click, tab to, or submit a combination they cannot buy.

02

Guaranteed In-Stock Default

The product page always opens on a variant that is currently in stock, so the Add to Cart button is present the instant the page renders — no exceptions.

03

Real-Time Stock Sync

Availability is computed live from on-hand quantity every time the page loads, so the storefront never advertises a variant that just sold out.

04

Out of Stock vs. Does Not Exist

Out-of-stock combinations get their own style and tooltip, kept visually distinct from combinations that are simply not offered — so shoppers understand what they are seeing.

05

Dependent Attribute Cascading

Selecting one attribute value immediately updates which values are still reachable at every other attribute, guiding shoppers toward a combination that can actually be purchased.

06

Store-Wide Default Behavior

Choose Off, Show but Disable, or Hide as the default for the whole storefront from Website Settings, matching how the shop already presents unavailable options.

07

Per-Product Override

Any product template can override the store default individually, so a handful of complex catalogs can behave differently from the rest of the shop without a bulk wizard.

08

Scales to Complex Catalogs

Built to stay correct across 7+ attributes with many values each, where the number of possible and impossible combinations grows fastest.

09

Zero Manual Tagging

No merchant needs to mark which combinations are out of stock by hand — availability is derived automatically from Odoo’s own inventory data.

WORKFLOW

How it works

1

Set the default behavior

Pick Off, Disable, or Hide for the whole store in Website Settings.

2

Override per product (optional)

Any product template can use its own behavior instead of the store default.

3

Stock is checked live

Every page load, on-hand quantity decides which combinations are out of stock.

4

Shoppers see only buyable options

Unavailable values are disabled or hidden, and the page opens on an in-stock variant.

SCREENSHOTS

See it in action

From store-wide defaults to the storefront your shoppers see.

CONFIGURATION
Per-product unavailable variant behavior override on the product form

Override the store default per product from the Sales tab — Off, Show but Disable, or Hide.

Store-wide unavailable variant behavior setting in Website Settings

Set the store-wide default behavior once in Website Settings, under Inventory Defaults.

STOREFRONT
Storefront product page with out-of-stock variants greyed out and disabled

Disable mode: out-of-stock colors and sizes are greyed out, struck through, and impossible to click — distinct from combinations that don’t exist.

Storefront product page with out-of-stock variants hidden from the selector

Hide mode: out-of-stock attribute values are removed from the selector entirely, and the page opens on an in-stock combination.

QUESTIONS

Frequently asked

Does this replace Odoo’s own out-of-stock handling?

No, it extends it. Odoo already hides variant values that lead to combinations which don’t exist; this module adds the missing case — combinations that exist but are currently out of stock — using the same exclusion mechanism the storefront already renders.

What happens if every combination of a product is out of stock?

The product page falls back to Odoo’s normal default combination, since there is no in-stock option to show instead. Nothing crashes and no other behavior changes.

Can I choose to hide options instead of just disabling them?

Yes. Set the behavior to Off, Show but Disable, or Hide, store-wide in Website Settings or per product on the product form.

Does this affect backend order creation or existing sale orders?

No. The behavior only applies to the website storefront when a shopper is selecting attribute values; backend variant creation and existing orders are unaffected.

Get in Touch

Have questions or need customization? Every purchase includes 30 days of free support — we are here to help.

@

Email Us

support@cerevantix.com

We usually reply within one business day.

↗

Visit Our Website

www.cerevantix.com

Explore our apps, services, and portfolio.

cerevantix .

Empowering growth through technology.

Grey out or hide out-of-stock variant attribute values on the storefront, keep them distinct from combinations that don’t exist, and always open the product page on a variant shoppers can actually buy.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Invoicing (account)
• Discuss (mail)
• Inventory (stock)
• Website (website)
Lines of code 246
Technical Name cerevantix_hide_cancel_out_unavailable_variants
LicenseOPL-1
Websitehttps://cerevantix.com
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