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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odoo_addon_website_sale_hide_no_variant_attributes-19.0.1.0.0.3-py3-none-any.whl.
File metadata
- Download URL: odoo_addon_website_sale_hide_no_variant_attributes-19.0.1.0.0.3-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a39eb2573759ee9b8a683616f9d0a233800f4e8a3d9a4eb46bf3452cd1ce2a7
|
|
| MD5 |
8a82a41ca23568964339fdeaf2055133
|
|
| BLAKE2b-256 |
aaaa132991fda8e33625518954d89681e167b129c38260ce593f4e50867546f5
|