Website Sale Comparison Specification Variant
On the eCommerce product page, the “Specifications” display added by website_sale_comparison (shown as a table, an accordion item, or both, depending on the theme’s display options) lists every attribute of the product, whose values can be restricted to specific variant combinations via the attribute value’s “Exclude for” configuration.
Without this module, that display always lists every configured value of such an attribute, and never updates when the customer changes the selected variant. This module makes it show only the value(s) actually compatible with the combination currently selected on the page, and refreshes it when the customer changes variant. This applies to every attribute type, not only non-variant-defining (“informative”) ones.
The comparison page (/shop/compare) is covered too: for each compared product, a non-variant-defining attribute only lists the value(s) compatible with that product’s own variant. Variant-defining attributes are unaffected there, since the comparison page already shows each product’s own actual value for them.
Table of contents
Usage
Go to Website > Products > Attributes.
On an attribute’s value, configure “Exclude for” to list the value(s) (of any attribute type) it is incompatible with.
On the eCommerce product page, the “Specifications” display (table and/or accordion item, depending on the theme’s display options) will only show the value(s) of that attribute compatible with the currently selected variant, and will update automatically when the customer changes it. 3.1 On the comparison page (/shop/compare), each compared product’s specifications will only show the value(s) of a non-variant-defining attribute compatible with that product’s own variant.
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.
Release files for odoo-addon-website-sale-comparison-specification-variant 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_comparison_specification_variant-19.0.1.0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_website_sale_comparison_specification_variant-19.0.1.0.0.4-py3-none-any.whl
| Download URL | odoo_addon_website_sale_comparison_specification_variant-19.0.1.0.0.4-py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2285dda92f3778f7c62f4271e3ed3f980e214ce3576b1656e571e47d473d98e
|
|
BLAKE2b-256 checksum How to use checksums |
2118a678758ca6e91b9df670e062522b1fc632cffcc5cb68bcf838deefcf05b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|