Best selling
Description: Sort by sales performance using 7-day revenue data. Products with highest revenue appear first. Dependencies: Automatically creates “Total Sales (7d)” metric if not present. Sorting logic:- Primary: Metrics (Total Sales 7d) - Descending
- Products with highest 7-day sales rank first
Newest
Description: Sort by product creation date. Most recently published products appear first. Sorting logic:- Primary: Published At - Descending
- Most recently published products rank first
Trending
Description: Sort by recent sales momentum. Units sold over the last 28 days count toward the score, but each sale loses half its weight every 7 days. Yesterday’s units matter far more than units from three weeks ago.published_at breaks ties, so newer products edge out older ones with the same trending score.
Dependencies: Automatically creates the Trending units (7-day half-life, 28 days) metric if not present.
Sorting logic:
- Primary: Trending units (28d, 7-day half-life) — Descending
- Tiebreaker: Published At — Descending
The Trending recipe is not seeded on day zero. Layers offers it once your store has enough recent purchase history for the sort window backtest to confirm that a short-horizon window predicts next week’s sales for your catalog. Until then, use Best selling with a longer window.
Price: high to low
Description: Sort by price in descending order. Most expensive products appear first. Sorting logic:- Primary: Variant Price - Descending
- Highest priced products rank first
Price: low to high
Description: Sort by price in ascending order. Least expensive products appear first. Sorting logic:- Primary: Variant Price - Ascending
- Lowest priced products rank first