Repository
OCA/e-commerce · module folder · Try on Runboat
Module version
1.0.0
Category
Website
Folder size
0.05 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/e-commerce
Last tracking update
2026-08-18 17:42:11
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Ricardoalso, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
geoip2
System dependencies
None
Required by
None
Description
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
ecom_show_extra_fields ecom_show_extra_fields ir.ui.view qweb Inherits website_sale.ecom_show_extra_fields
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • field_id Many2one
    domain=[('model_id.model', 'in', EXTRA_FIELD_MODELS), ('ttype', 'in', EXTRA_FIELD_TTYPES)]
  • is_variant_field Boolean
    compute='_compute_is_variant_field'
Public methods (0)

No public methods.