GitHub

ShopifyProductCollectionSortKeys

enum

import { ShopifyProductCollectionSortKeys } from '@daffodil/driver/shopify'

The set of valid sort keys for the ProductCollection query.

Properties

BestSelling
ShopifyProductCollectionSortKeys.BestSelling

Sort by the best-selling value.

CollectionDefault
ShopifyProductCollectionSortKeys.CollectionDefault

Sort by the collection-default value.

Created
ShopifyProductCollectionSortKeys.Created

Sort by the created value.

Id
ShopifyProductCollectionSortKeys.Id

Sort by the id value.

Manual
ShopifyProductCollectionSortKeys.Manual

Sort by the manual value.

Price
ShopifyProductCollectionSortKeys.Price

Sort by the price value.

Relevance
ShopifyProductCollectionSortKeys.Relevance

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.

Title
ShopifyProductCollectionSortKeys.Title

Sort by the title value.