- Getting Started
- Liquid reference
- Filters reference
- Tags reference
- Localization
- Theme structure
- Theme sections
- Theme assets
- Theme config
- Theme layout
- Theme templates
-
- article.liquid
- blog.liquid
- cart.liquid
- collection.liquid
- customer/account.liquid
- customer/addresses.liquid
- customer/details.liquid
- customer/login.liquid
- customer/order.liquid
- customer/register.liquid
- customer/reset-password.liquid
- home.liquid
- page.no-heading.liquid
- products.liquid
- search.liquid
- list-collections.liquid
- store-locator.liquid
- 404.liquid
- customer/activate_account.liquid
- customer/orders.liquid
- Submission
collection
collection object only contain specific collection's object. The collection object has the following attributes:
collection.title
Returns the title of the collection.
collection.sort_by
Returns the sort order of the collection.
collection.product_count
Returns the number of products in a collection.
collection.handle
Returns the collection's handle.
collection.products
Returns the number of products in a collection. More info ›
collection.paginate
Returns the paginate object of the collection. More info ›
collection.id
Returns the unique ID of the collection.
collection.url
Returns the relative URL of the collection.
collection.description
Returns the description of the collection.
collection.filters
Returns an array of the storefront filters available for the collection.
collection.default_sort_by
Returns the collection's default sort order.
collection.page
Returns the current page number of the collection's paginated products.