The all Collection
Every shop has a built-in all collection that contains all public products. This is the easiest way to get all products:
Common Patterns
Get all products (paginated)
Get products from a specific collection
Get a single product by slug
Use this when you already know the product slug (e.g., from a URL like/products/cool-t-shirt):
Why Collections?
Collections let you:- Organize products into categories (e.g., “Apparel”, “Accessories”)
- Control which products appear on your storefront
- Create featured or seasonal groupings
all collection is always available as a catch-all.