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.
Table of contents
Usage
This 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.
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
-
Ricardoalso <ricardo.almeidasoares@camptocamp.com>
Maintainers
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
This module is part of the OCA/e-commerce project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Metadata
Release files for odoo-addon-website-sale-hide-no-variant-attributes 19.0.1.0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odoo_addon_website_sale_hide_no_variant_attributes-19.0.1.0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_website_sale_hide_no_variant_attributes-19.0.1.0.0.4-py3-none-any.whl
| Download URL | odoo_addon_website_sale_hide_no_variant_attributes-19.0.1.0.0.4-py3-none-any.whl |
|---|---|
| Size | 30.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eaa8ce6a2fa5719d1edad8409c2c2e7d1809754f3a63a91f9ac28d597f586ca
|
|
BLAKE2b-256 checksum How to use checksums |
a0c6c526a10c7f145c357b92d240cb73e7cd65911eda710f384a860279f6182d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|