Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version: Edit on GitHub

Object Data Inheritance in Action

Object Data Inheritance is a powerful feature to minimize the data maintenance effort for editors.

In our e-commerce demo we use data inheritance for fashion products with different colors and sizes - meaning we have a generic article with all the generic information (like names, descriptions, material, gender assignment, specific attributes etc.) and we have color and size variants that inherit all the data from it and overwrite just color and size.

Color and Size Variants

This already massively reduces the data maintenance effort, since all the generic information needs to be entered and updated only once per generic article.

Reducing Maintenance Effort even more with Virtual Products

In lots of domains, data maintenance effort can be reduced even more. Products from the same category, manufacturer, type or series, share a lot of common attributes - like assigned categories, assigned manufacturer, values for technical attributes, maybe even images etc.

To take advantage of data inheritance for these use cases too, we recommend the concept of virtual products. Virtual products are objects of the same type as products, with a special flag set.

Object Type

This flag is a normal object attribute and defines that these products are data containers only and are not considered in output channels like product listings and exports.

Using virtual products, complex product hierarchies can be constructed and data can be maintained in a single place for minimal data maintenance effort.

Virtual Product Hierarchy

With the Custom Icons feature, icons can be modified for virtual products, like in this example grey icons for virtual products, colored icons for real products.

With Custom Layouts and the tips of Showing Custom Layouts based on Object Data it is even
possible to deliver a different object editor mask for virtual products with additional explanation texts and showing only attributes that should be modified on the current level by the editor.