Add a Facet to Category Navigation

Add search facets to a Category template.

Complete the following prerequisites:

At the Content Editor

  1. Create a new facet in the following location: /sitecore/system/Settings/Buckets/Facets.
  2. Create a display name, add the fieldname to have the facet focus on, and then click save.
  3. Open the catalog templates from the content tree at /sitecore/templates/Commerce/Catalog/Commerce Category.
  4. Open the _Standard Values content pane.
  5. In the runtime search facets, select the facet you created and add it to the selected list, and then click Save.
    The facets you have selected are available on all category pages.
    Note: You can use different facets for specific category page by modifying the Category Search Facets field for that category.