Website Sale Hide No Variant Attributes
This module keeps attributes that never generate a variant (attributes with their Variant Creation setting on Never, e.g. purely informational specs) out of the website product page's variant selector, and out of the combination-exclusion rules used to gray out incompatible options.
Without this module, an informational attribute's value can still exclude a real, variant-defining value through a configured Exclude for rule, even though the informational attribute itself is never shown to the shopper as a selectable option — resulting in a visible option being grayed out because of an attribute the shopper cannot see, with a tooltip naming it.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Keeps informational product attributes (those set to never create variants) out of the website product page's variant selector and its option-exclusion rules, so shoppers only see and are blocked by real, variant-defining options.
On the website product page, some attributes are purely informational and are configured so they never create a product variant. This module makes sure those attributes are not shown as selectable options in the variant selector.
It also cleans up the rules that gray out incompatible choices. Previously, an informational attribute could still exclude a real, variant-defining value through an exclusion rule, so a visible option could appear grayed out because of an attribute the shopper cannot even see. This module removes those hidden attributes from the exclusion data and from the tooltip names, so only visible options can block each other.
It also adjusts the availability check used when a combination is selected: if a combination looks impossible, the check is retried ignoring the non-variant attributes, so a valid choice is not wrongly reported as unavailable.
Where it appears: the product page variant selector on the website (the website_sale.variants template). It touches the product.template model methods _get_attribute_exclusions and _get_combination_info. No new menus, buttons, reports or scheduled jobs are added.
Depends on
Models and fields (1)
- product.template · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 19.0
Confirmed on 2026-11-03 in branch 19.0 of OCA/e-commerce.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0This module requires no configuration: it applies automatically to every product attribute whose Variant Creation is set to Never.
- On a product, add an attribute with Variant Creation set to Never (e.g. an informational spec such as a material or a care instruction), alongside your normal variant-defining attributes.
- Optionally, configure an Exclude for rule on one of that attribute's values, targeting one of the variant-defining values.
- Open the product page on the website: the informational attribute no longer appears in the variant selector, and the variant-defining value targeted by its exclusion rule is no longer grayed out because of it.
- Add the product to the cart: the hidden informational attribute never blocks Add to Cart, even when its excluded or default value would have conflicted with the one visibly selected.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.