ProductSearchFacetValue reference
This article provides reference material about ProductSearchFacetValue
struct.
Properties
Value
The value.
Text
The text which describes the value.
SortOrder
The sort order of the value.
TopValuesSortOrder
The sort order of the value among the top values.
Example:
var colorValue = new ProductSearchFacetValue(Value: "RED", Text: "Red", SortOrder: 1, TopValuesSortOrder: 1);
var numberValue = new ProductSearchFacetValue(Value: 5, Text: null, SortOrder: 10, TopValuesSortOrder: 2);