Skip to main content
Anchor to ProductCollectionSortKeys

ProductCollectionSortKeys

enum

The set of valid sort keys for the ProductCollection query.

Sort by the best-selling value.

Sort by the collection-default value.

Sort by the created value.

Sort by the id value.

Sort by the manual value.

Sort by the price value.

Sort by relevance to the search terms when the query parameter is specified on the connection. Don't use this sort key when no search query is specified.

Sort by the title value.


Was this section helpful?

•ARGUMENT

A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse.


Was this section helpful?