The user wants to create a facet field that sources the options from a custom list that they created.
- Create a Custom List
- Navigate to Customization > Lists, Records, & Fields > Lists > New
- Name: Add name depending on user’s preference
- Values sublist: Add list items depending on user’s preference
- Fill out other fields as needed
- ClickSave
- Create the Item field to be displayed on the web store
- Navigate to Customization > Lists, Records, & Fields >Item Fields > New
- Label: Add name depending on user’s preference
- Type:Choose Multiple Select
- List/Record:Select the custom list you created
- The Applies To tab can be filled out depending on user’s preference
- Fill out other fields as needed
- Click Save
- Setup Facets in Website Record
- Navigate to Commerce > Websites > Website List
- Click Edit next to your Website
- Click the Search Index tab
- Click Facets Fields subtab
- Facet Field Name: Select the new Item Field you created
- Click Save
- Update SuiteCommerce Configuration Record
- Navigate to Commerce > Websites> Configuration
- Select Website: Select the your Website
- Select Domain:Select the Domain of your Website
- Click Configure
- Navigate to Shopping Catalog > Facets
- Facets:
- Item Field ID: the ID of the item field
- Name: the Name of the facet field to display on the web store
- Priority: 1
- Behavior: range
- Template: facets_faceted_navigation_item.tpl
- Non Collapsible: Yes
- Show Heading: Yes
- Click Save
Note: After setting all of these changes, perform a Cache Invalidation Request.