stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > CollectionSortOrder

AdminTypes.CollectionSortOrder enum

Specifies the sort order for the products in the collection.

Signature:

export declare enum CollectionSortOrder 

Enumeration Members

Member Value Description
AlphaAsc "ALPHA_ASC" Alphabetically, in ascending order (A - Z).
AlphaDesc "ALPHA_DESC" Alphabetically, in descending order (Z - A).
BestSelling "BEST_SELLING" By best-selling products.
Created "CREATED" By date created, in ascending order (oldest - newest).
CreatedDesc "CREATED_DESC" By date created, in descending order (newest - oldest).
Manual "MANUAL" In the order set manually by the merchant.
PriceAsc "PRICE_ASC" By price, in ascending order (lowest - highest).
PriceDesc "PRICE_DESC" By price, in descending order (highest - lowest).