Skip to content

Enriching products

As explained in Product enrichers, they offer a way to add, replace, set, and update product catalogue item attributes.

Product enrichment is initiated in the UI by filtering and selecting products in the product catalogue, then selecting the Enrich Products bulk operation.

Enrich bulk operation

Products can either be enriched based on their placement in the product hiararcy or directly by one or more selected enrichers.

Enrich products

Enrichment based on product hierarchy placement

A user can choose to run enrichment based on the product's placement in the product hierarchy.

This means that products will be handled by enrichers that are specified in the product's primary category (and the category's parent(s)).

Note

A primary category is the category placement that is selected to be the primary one. A product can be placed in many categories, but only one of them can be primary.

In the product hierarchy, each category can have an enricher attached to it and its inheritance setting determines whether enrichers should be inherited from parent categories.

Enrich from product hierarchy

Consider the following hierarchy.

  • Root category
    • Sub_1 (My Product Enricher, inherit)
    • Sub_1-1 (My Other Product Enricher, inherit)
    • Sub_1-2 (My Other Product Enricher, don't inherit)

If some product P is placed in Sub_1-1 and enriched, then both My Product Enricher and My Other Product Enricher will be applied because Sub_1-1 is set to inherit from parents.

If P is placed in Sub_1-2 and enriched, then only My Other Product Enricher will be applied because Sub_1-2 doesn't inherit enrichers from parents.

When more than one enricher is applied, enrichment specifications are resolved from the bottom and up such that the bottom most rules take precedence if they are mutually exclusive or overlapping with higher level rules.

In other words, enrichers are not run individually (in the above example, first My Product Enricher, then My Other Product Enricher). Instead their individual specifications are combined into one logical enricher which is then applied.

Enrichment with specific enrichers

A user can choose to run enrichment directly by selecting specific enricher(s) for the enrichment.

Specific enrichers

Here, two enrichers are selected.

When more than one enricher is selected, enrichment specifications are resolved opposite to the order they appear in the list such that those in the bottom take precedence if they are mutually exclusive or overlapping with specifications in other enrichers.