Skip to main content
Version: 2026.2

Object Data Inheritance in Action

Object Data Inheritance minimizes data maintenance: child objects inherit field values from their parents and override only what differs.

The e-commerce demo applies this to fashion products with different colors and sizes. A generic article holds all shared information (names, descriptions, material, gender assignment, specific attributes). Color and size variants inherit everything and override only the relevant fields.

Color and Size VariantsColor and Size VariantsColor and Size Variants

Enter and update generic information once per generic article - variants pick it up automatically, eliminating redundant data entry.

Reducing Maintenance Further with Virtual Products

Products in the same category, from the same manufacturer, or within a series share common attributes - assigned categories, manufacturer references, technical values, sometimes images.

Virtual products extend this pattern. They use the same class as real products but carry a special flag:

Object TypeObject TypeObject Type

This flag marks the object as a data container only, excluded from output channels like product listings and exports.

With virtual products, build deep product hierarchies and maintain data in a single place:

Virtual Product HierarchyVirtual Product HierarchyVirtual Product Hierarchy

Use Custom Icons to visually distinguish virtual products (e.g. grey icons) from real products (colored icons).

Combine Custom Layouts with Custom Layouts based on Object Data to show different editor masks for virtual products - for example, displaying only the attributes relevant to the current hierarchy level along with explanatory text.

Modifying Inherited Data

Review the Data Inheritance documentation, especially the Modifying values from getters when using inheritance section, for details on how getter methods resolve inherited values.