Guides / Solutions / Ecommerce / Business user guide / Ongoing optimizations

Merchandise Facets on Category Pages

Facet merchandising refers to changing the order of the facets and their values. First, you need to configure a baseline as part of your Relevance strategy. Then, you can set up Rules to modify the order, for example, pinning facets at the top.

Configure facet ordering

For example, you can define, that the “brand” facet is shown first, followed by “product type”, “price”, and “customer rating”.

To define the order in which the facets are displayed, follow these steps:

  1. Go to the Algolia dashboard.
  2. Select the index, for which you want to change the facet ordering.
  3. Go to the Configuration tab.
  4. In the Filtering and Faceting section, select Facet display.
  5. Select the facets you want to order.
  6. Add facets to the list or drag them in your preferred order.
  7. Review and save your changes.

Change the order of your facets in the Algolia dashboard

Configure facet value ordering

For each facet, you can change the order of the facet values. You can pin one or more facet values, so that they’re always at the top of the list. For the remaining facet values, you can select if they should be sorted alphabetically, by count, or if they shouldn’t be displayed at all.

For example, the facet values for the facet “size” are ordered by count, while most users expect a fixed order: “XS, S, M, L, XL”.

To define the order in which the facet values are displayed, follow these steps:

  1. Go to the Algolia dashboard.
  2. Select the index, for which you want to change the order of the facet values.
  3. Go to the Configuration tab.
  4. In the Filtering and Faceting section, select Facet display.
  5. Select the facet, for which you want to order the values and click the Edit icon.
  6. Click Sort all other values and select your preferred way of sorting: by number of hits, alphabetical order, or display only pinned values.
  7. Review and save your changes.

Change the order of the facet values in the Algolia dashboard

Merchandise facets

Adapt the ordering of the facets and their values based on a given query, category, or context in the Visual Editor.

Pin facet values to the top

For example, your analytics show that the brand “Apple” converts better than other brands. To increase conversions, you can pin the facet value “Apple” for the facet “brand” at the top of the list.

To pin facet values, follow these steps:

  1. Go to the Algolia dashboard.
  2. Select the index, for which you want to pin a facet value.
  3. Go to the Configuration tab.
  4. In the Filtering and Faceting section, select Facet display.
  5. Select the facet, which you want to edit and click the Edit icon.
  6. In the Pin facet values section, click Add new item and enter the facet values in your preferred order.
  7. For the remaining values, click Sort all other values and select if you want to sort them by number of hits, in alphabetical order, or if you only want to display pinned values. In that case, values that aren’t pinned, won’t show in your front end.
  8. Review and save your changes.

Pin facet values for a given facet to boost their visibility.

Adjust the facet ordering for a category

For example, in the category “Jeans” you use numerical facet values for the facet “size” (24, 25, 26, etc.). To specify the ordering of numerical facet values, follow these steps:

  1. Go to the Rules section in the Algolia dashboard.
  2. Select the index, for which you want to specify the facet order.
  3. Click New Rule and select Visual Editor.

    Open the Visual Editor for Rules in the Algolia dashboard to specify facet ordering

  4. Click Choose category page.

    Select a category for which you want to adjust facet ordering in the Visual Editor

    If you haven’t configured any categories, click Configure category page and set your preferences.

    Configure a category page for which you want to adjust facet ordering

    Select a category that triggers this Rule.

    Select a category for which a new Rule should apply

  5. Select Order facets. Click Add facet to display to add facets for the selected category. If you want to change the order, you can drag them up or down the list.

    Specify the order for numerical facets

  6. Review the Rule and click Publish.
  7. Review and save your changes.

Edit the facet value ordering of an existing Rule

  1. Go to the Rules section in the Algolia dashboard.
  2. Select the index, for which you want to edit a Rule.
  3. Select the Rule you want to edit, open the options menu on the right (three vertical dots), and select Edit rule.

    Edit an existing Rule

  4. Select the facet you want to edit and click the Edit icon.

    Select the facet you want to adjust for a given Rule

  5. Make your changes, for example, adjust the facet value ordering, click Apply, and save the edited Rule.

    Change the facet properties while editing a Rule

Did you find this page helpful?