Skip to main content

Collections list

Merchant Developer

Displays a paginated grid of your store's collections, either all of them or a hand-picked, ordered set.

The Collections list section renders a grid of collection cards with a heading and subheading. It can automatically show every collection in your store (paginated 12 per page) or show only the specific collections you add as blocks, in the order you arrange them.

storefront previewResult
Collections list
Collections list
storefront previewSettings
Collections List section settings - heading, which collections to show, hover label and image shape
Collections List section settings - heading, which collections to show, hover label and image shape

How to use it​

For merchants

In the Shopify theme editor, add or open this section, then:

  1. In the theme editor, open the List collections page and select the Collections list section.
  2. Set the Heading and Subheading shown above the grid.
  3. Under Collections to show, pick All collections to display every collection automatically, or Selected collections to curate them.
  4. If you chose Selected collections, click Add block → Collection and choose a collection for each block, dragging blocks to reorder them.
  5. Edit the Card hover label (e.g. Shop Now) and choose an Image shape for the cards.
  6. Pick a Color scheme and save.
tip

The built-in all collection is automatically skipped in All collections mode, so it won't appear as a duplicate card.

tip

Pagination (12 per page) only shows in All collections mode; Selected collections shows every block you add on one page with no pagination.

tip

Use square or circle image shapes with consistently-sized collection images so cards line up neatly across the grid.

Settings reference​

SettingTypeDefaultWhat it does
Color schemecolor_schemescheme-1Sets the background and text colors for the section.
Collections to showselectallChoose "Selected collections" and add collection blocks below to control exactly which collections appear and their order.
HeadingtextShop CollectionsTitle shown above the grid; leave blank to hide it.
SubheadingtextBrowse our curated selectionsSupporting line under the heading; leave blank to hide it.
Card hover labeltextShop NowCall-to-action text shown on each collection card.
Image shapeselectsquareOptions: Square, Landscape, Circle, Angled.

Repeatable Collection blocks (each with a single collection picker) let you curate and order which collections appear when Collections to show is set to Selected collections; an @app block type is also supported for app integrations.

Collection blocks​

Only used when Collections to show is set to Selected collections. Add one Collection block per collection you want in the grid, and drag to set their order.

storefront previewSettings
Collection block - pick which collection this card links to
Collection block - pick which collection this card links to
SettingTypeDefaultWhat it does
Collectioncollection-The collection this card shows and links to.

Developer notes​

Developer note

Loads collections-list.css via asset_url | stylesheet_tag and renders section-color-scheme for scheme variables.

  • Each card is rendered through the collection-grid-item snippet, passing the collection and section; breadcrumbs and pagination use the breadcrumbs and pagination snippets.
  • The collection_source setting switches between iterating the paginated collections global (skipping the all handle) and looping section.blocks of type collection.
  • Wrapper element id is CollectionsList-{{ section.id }}; whole grid is wrapped in {% paginate collections by 12 %}.
{%- if section.settings.collection_source == 'selected' -%}
{%- for block in section.blocks -%}
{%- if block.type == 'collection' and block.settings.collection != blank -%}
{%- render 'collection-grid-item', collection: block.settings.collection, section: section -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}