Select and Configure Facet Fields

This topic applies to

Applies to

SuiteCommerce Web Stores

Facets are a way of filtering the search results based on the values in the item fields. When a shopper clicks a facet value, the search results are reduced to only the items that have that value, and additional clicks continue to refine the search results.

Typically, a variety of product attributes are used as facets. For example, some of the popular facet fields for an apparels website are brand, gender, color, and size.

Adding a Facet Field under Search Index enables faceting for that field. You can then use this facet field with the Item Search API.

To select the facet fields:

  1. Complete the prerequisite tasks as described in Prerequisites.

  2. Go to Setup > SuiteCommerce Advanced > Set Up Web Site.

  3. Click Edit next to your SuiteCommerce Advanced site.

  4. Click the Search Index sub tab and then Facet Fields.

  5. From the Facet Field Name dropdown, select the fields that you would like to use as facets and click Add.

  6. (Optional) If you want to delete a Facet Field from the list, you can select the field and click Remove.

  7. Once you have finalized the Facet Fields, click Save.

After you select the facet fields, you can configure the facet fields for your SuiteCommerce site using the SuiteCommerce Configuration record.

To configure the facet fields

  1. Go to Setup > SuiteCommerce Advanced > Configuration.

  2. Select the site that you want to configure from the Select Website list.

  3. Select the specific domain that you want to configure from the Select Domain list.

  4. Click Configure.

  5. On the SuiteCommerce Configuration record page, click the Shopping Catalog tab and then click the Facets subtab.

  6. Define and configure your facet options. For details, see Facets Subtab.

    For example, if a custom field, custitem40 has been defined as a facet field in the web site record, a line item for that field should be added under the Facets sub tab and configured.

  7. Click Save.