Website Sale Variant Extra Field
The standard Product Page Extra Fields configuration lets a website manager pick product fields to display on the shop product page. It only supports char and binary fields on the product template, and the displayed value is read once when the page loads, so it never updates when the customer switches variants.
This module removes both limitations:
product variant fields can be selected, in addition to product template fields;
more field types are supported: multi-line text, numbers, dates, datetimes, dropdown (selection) values and linked records, in addition to char and binary fields;
when a variant field is selected, its value refreshes live on the product page as soon as the customer picks a different combination of attributes.
decimal numbers are displayed with the number of decimals configured for the selected field.
Table of contents
Usage
Go to Website > Configuration > Settings and open the Product Page Extra Fields configuration of the website.
Add a line and pick any field of a product or of a product variant. Text, multi-line text, file, number, date, date and time, dropdown, and linked record fields are available.
Go to the shop and open a product page. The label and the value of each selected field are displayed below the product details (if the field has a value on the displayed product or variant).
Select another variant attribute on that page. The values coming from a product.variant field are updated immediately, while the values coming from a product.template field stay unchanged.
A variant field with no value on the displayed variant is simply hidden, and appears again as soon as the customer selects a variant that has a value.
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-variant-extra-fields 19.0.1.1.0
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_variant_extra_fields-19.0.1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / odoo_addon_website_sale_variant_extra_fields-19.0.1.1.0-py3-none-any.whl
| Download URL | odoo_addon_website_sale_variant_extra_fields-19.0.1.1.0-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b43720b9d8644044ed5cf2524173d542bf4bb5af3746e47910e700374f0fa31a
|
|
BLAKE2b-256 checksum How to use checksums |
83181e532137c8e1d34022f9dc739ed209d83eadcbe4c2f94f4870e6a577ac4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.4
|