Skip to content

collections

Collections by handle: collections[‘sale’], collections.all.

Looping gives up to 250 collections.

Available in: Every template.

Liquid
{{ collections.all.products_count }} products
Output
24 products

Shopify: Same as Shopify.

Since theme platform 1.0.

Was this page helpful?