Select and Configure Facet Fields
Facets let you filter the search results by the values in item fields. When a shopper clicks a facet value, the results show only items with that value. Each extra click keeps narrowing down the search results. Commerce web stores and SCIS use modern faceted navigation for displaying item results.
Usually, you'll use different item attributes as facets. For example, popular facet fields for an apparel website are brand, gender, color, and size.
When you add a Facet Field under Search Index, you turn on faceting for that field. You can then use this facet field with the Item Search API.
Don't add too many Facets or Facet Values, since it can slow down search. Try to use 40 facets or fewer.
To select the facets:
-
Complete the prerequisite tasks as described in Prerequisites.
-
Go to Commerce > Websites > Website List.
-
Click Edit next to your SuiteCommerce Advanced site.
-
Click the Search Index sub tab and then Facet Fields.
-
From the Facet Field Name dropdown, pick the fields you want to use as facets and click Add.
-
(Optional) To delete a Facet Field, select the field and click Remove.
-
After you have finalized the Facet Fields, click Save.
After you select the facet fields, you can configure the facet fields for your site using the SuiteCommerce Configuration record. For more details, see Configure Facet Fields.