If you use faceted search, categories in the product catalog can inherit global facets or local facets that belong to parent assets. You determine which facets a category inherits by setting its inheritance options. By default, you can set specific inheritance options for a category even if the category has no local facets of its own. You can change this behavior so that any local inheritance settings are ignored unless the category has at least one local facet. For information about local facets and facet inheritance, see Defining Facets.

To ignore the facet inheritance settings of categories that do not have local facets:

  1. In your local configuration, create a properties file for the following component:

    /atg/commerce/search/refinement/
    RefinementConfigurationCollectorFactory

  2. Set the propagateFacetInheritanceFlagsValues property to true.

When the propagateFacetInheritanceFlagsValues property is set to true, a category that has no local facets defined has the facet inheritance settings of its parent, and any local inheritance settings are ignored.

When this property is set to false—the default value—the local inheritance settings of a category are always used, even if it has no local facets.

If a category has at least one local facet defined, the propagateFacetInheritanceFlagsValues property has no affect on the facet inheritance behavior.

 
loading table of contents...