Keep Your Odoo Storefront Clean and Conversion-Ready. Stop showing out-of-stock product options to your customers. Control exactly how unavailable variants appear on your Odoo eCommerce pages — hide them entirely, grey them out, or disable selection with custom messaging — so shoppers only engage with products they can actually purchase.
Hide Unavailable Variants is an Odoo eCommerce module that manages the visibility of out-of-stock product variants on your website storefront. Instead of displaying every variant option regardless of availability — confusing shoppers and increasing cart abandonment — this module gives administrators full control over how unavailable selections appear to customers. You can hide them completely, show them as crossed-out with status messaging, disable their selection, or display custom out-of-stock messages with alternative product suggestions. The result is a cleaner shopping experience that drives customers toward products they can actually buy.
Remove out-of-stock product variants from the storefront entirely so customers only see options they can purchase. When stock is replenished, variants reappear automatically.
Why it matters: A streamlined product page with only available options reduces decision fatigue and eliminates dead-end selections that cause cart abandonment.
Instead of hiding variants entirely, display unavailable options in a visually distinct state — greyed-out or crossed-out — with a status indicator.
Why it matters: This approach preserves full product range visibility while clearly communicating stock status, useful for stores where customers may want to check back later.
Prevent customers from selecting or adding unavailable variant combinations to their cart. The option remains visible but is functionally locked.
Why it matters: This stops the frustrating experience of selecting a variant, proceeding through the flow, and then encountering an out-of-stock error.
Configure tailored messages that display alongside disabled or crossed-out variants. Administrators can set specific text per product or across the store.
Why it matters: A clear message like "Back in stock next week" or "Contact us for availability" turns a dead-end into a potential future sale.
When a variant is unavailable, recommend alternative products to guide customers toward a purchase rather than losing them entirely.
Why it matters: Instead of the customer leaving your store empty-handed, you redirect their intent toward available inventory — recovering revenue.
All visibility settings, thresholds, display modes, and messaging are managed through the Odoo Website Settings interface. No JavaScript modifications required.
Why it matters: Store managers and eCommerce teams can adjust variant visibility strategy on the fly without creating development tickets.
Choose your Odoo version and explore interactive documentation
Guide 1
Guide 2
No development environment. No custom code. No consultant required for standard setup.
Search for 'zehntech_hide_unavailable_variants' in your Odoo Apps menu and click Install. Compatible with Odoo 16–19 on Community and Enterprise editions.
Navigate to Website Settings and define the stock level at which product variants should be treated as unavailable. Integrates with your existing Odoo Inventory data.
Choose how unavailable variants appear — hide them completely, display them greyed-out or crossed-out with status messaging, or disable selection while keeping them visible.
Set tailored out-of-stock messages that appear alongside unavailable variants. Optionally configure alternative product suggestions to redirect customers.
Your customers deserve a storefront that only shows them what they can buy. Includes lifetime updates and 90 days of dedicated technical support.
You have successfully subscribed to the newsletter
There was an error while trying to send your request. Please try again.