How to build custom facet for item color in SuiteCommerce site
Follow the steps in creating a custom facet for item color:
A. Create the custom list and custom item field
Navigate to Customization > List, Records, & Fields > Lists > New
Name: Item Colors
ID: _sdr_item_color
In the Values tab, enter the following values: Black, Green, Blue, Red, Yellow
Click Save
Navigate to Customization > List, Records, & Fields > Item Fields > New
Label: Item Color
ID: _sdr_item_colors
Type: List/Record
List/Record: Item Colors
Under Applies To tab, enable Inventory Item, Non-Inventory Item, Service
Under Display tab, select Main for Subtab
Click Save
B. Edit the Inventory, Non-Inventory or Service items available in web store and assign an Item Color
C. Setup the Item Color as facet on web site setup record.
Navigate to Commerce > Websites > Website List > Click Edit on the Website record
In the Search Index > Facet Fields, add Item Color (Custom)
Click Save
Wait for the search index to complete and check the website
User should be able to get a result similar result below:
