Skip to main content
Odoo Community Association

Website Sale Variant Extra Field

Beta License: LGPL-3 OCA/e-commerce Translate me on Weblate Try me on Runboat

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: 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

  1. Go to Website > Configuration > Settings and open the Product Page Extra Fields configuration of the website.

  2. Add a line and pick any field of a product or of a product variant. Text, file, number, date, date and time, dropdown, and linked record fields are available.

  3. 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).

  4. 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

Authors

  • Camptocamp

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-website-sale-variant-extra-fields 19.0.1.0.0.4
File Interpreter ABI Platform
odoo_addon_website_sale_variant_extra_fields-19.0.1.0.0.4-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_website_sale_variant_extra_fields-19.0.1.0.0.4-py3-none-any.whl

Download URL odoo_addon_website_sale_variant_extra_fields-19.0.1.0.0.4-py3-none-any.whl
Size 32.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14f25c8e67157f1969987b958c395b43878403a2155b51394d789ea6f5d5ee53
BLAKE2b-256 checksum
How to use checksums
b87a6b6903a217a26fff5246f808ca8d22d4b7a966fa078875d6df4df7f9295e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

19.0.1.0.0.4 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page