ProductCollectionSortKeys enum
The set of valid sort keys for the ProductCollection query.
Values
- TITLE
Sort by thetitlevalue. - COLLECTION_DEFAULT
Sort by thecollection-defaultvalue. - CREATED
Sort by thecreatedvalue. - ID
Sort by theidvalue. - MANUAL
Sort by themanualvalue. - PRICE
Sort by thepricevalue. - RELEVANCE
During a search (i.e. when thequeryparameter has been specified on the connection) this sorts the results by relevance to the search term(s). When no search query is specified, this sort key is not deterministic and should not be used. - BEST_SELLING
Sort by thebest-sellingvalue.
