Sometimes you want a product page to show more than just the name and price - think of the internal reference, the barcode, or a custom HTML field with extra detail. In Odoo you bind these fields to the page without any custom development.
Show an existing field
- Open the product page in your shop and click Edit in the top right.
- Drag a Text block to where the information should appear.
- Select the text, open the inline editor and choose Bind field (Dynamic field).
- Pick the field you want, for example the internal reference or the barcode.
- Save. The block now shows the value of whichever product the visitor is viewing.
The value follows the product: open a different item and the displayed information updates by itself.
Add a new field
If the field does not exist yet, create it first with Studio:
- Open Studio on the product form and add a new field (text, number or HTML).
- Fill the field on your products with the right value.
- Bind the field to a block on the product page the same way as above.
An HTML field is useful when you want to show formatted content, such as a specification table or a block of certifications.
Videos
The video below walks through binding a product field step by step:
Want to go further, for example with dynamic fields and custom blocks? Watch this video:
Need a hand with your shop?
Want to set up your Odoo eCommerce pages more cleverly? Book an Odoo scan or get in touch - we will take a look with you.