How sorting and conditions work
Find answers to common questions about sort options and conditions.
This page covers
Which price is used?
Section titled “Which price is used?”A product’s lowest variant price. This applies to Lowest price first, Highest price first, and the Price condition.
How is a discount calculated?
Section titled “How is a discount calculated?”As the percentage off the compare-at price. For a product with variants, the largest discount counts. A product that isn’t on sale counts as 0.
Where do products without a value go?
Section titled “Where do products without a value go?”Last, whichever direction you sort in.
What do ranges do?
Section titled “What do ranges do?”+ Group into ranges sorts by range instead of by exact value. Products in the same range count as tied, so the tiebreak decides their order.
For example, Lowest price first in ranges of 20 treats prices from 0 to 19.99 as one range, and prices from 20 to 39.99 as the next.
Why can’t I add a tiebreak?
Section titled “Why can’t I add a tiebreak?”+ Add tiebreak isn’t available after Keep current order or Random (fresh shuffle daily).
Why doesn’t my condition match?
Section titled “Why doesn’t my condition match?”Days since added and Discount % are rarely whole numbers. Use greater than or less than with them instead of is.
How does “is not” work with tags?
Section titled “How does “is not” work with tags?”Tag with is not or doesn’t contain matches a product only when none of its tags match.
Can a section use both all and any?
Section titled “Can a section use both all and any?”No. A section matches all of its conditions or any of them. It can’t mix both.