Key attributes, categories, and catalogs
To display key attributes for a product in the web shop, the product's main category must
be included in the catalog. You can define key attributes directly on a category record, or
you can specify that a category inherits key attributes from a parent category.
If a category inherits key attributes from a parent, then this method is used to determine key
attributes:
- The category hierarchy is examined starting at the lowest-level parent of the category
that inherits key attributes. The first parent category that has key attributes directly
defined is used as the source of key attributes.
For example, category Classics has a parent category Fiction, which has a parent category Books. If Classics inherits attributes, and attributes are directly defined on the Fiction category, then Fiction is used as the source of key attributes. If Classics and Fiction inherit attributes, and attributes are directly defined on the Books category, then Books is used as the source of key attributes for Classics and Fiction.
- The list of key attributes on the source category is compared to the list of attributes
on the child category. In the web shop, the key attributes that the source category and
child category share are displayed for products in the child category.
For example, the source category key attributes are Color, Size, and Fabric. On the child category, only Color and Size are specified. In the web shop, products in the child category show only Color and Size as key attributes.