Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / PRODUCT_SORTS

Variable: PRODUCT_SORTS

const PRODUCT_SORTS: readonly ["newest", "price-ascending", "price-descending"]

How a storefront listing can be ordered, for a theme's sort control. Absent, a listing keeps its own order: a collection's, a search's best match first, else newest.