All docs pages

Liane docs › Sections › Collections and search

Product grid

Part of the collection page and the promotion collection page. You can change its settings, but not add it elsewhere.

Product grid is the body of every collection page: the product count and the sort order, the filters, the product cards and the way to the next page. It sits under the Collection banner on both collection templates.

The filters are Shopify’s own: you choose which ones each collection offers (availability, price, product type, vendor, options or metafields) in Shopify’s Search & Discovery app. With Enable filtering on, they stand in a column beside the grid on wide screens and in a drawer on phones and tablets, and the results change as customers choose. Active filters show as chips with a Clear all link. A filter set to show swatches in the app draws each color in the drawing tool. When a collection has no filters, the grid takes the full width.

With Show more button or Load as you scroll, the next page comes in under the products already shown.

Tips

  • A Promotion block places a tile among the products of the first page, after the number of products set in Position, up to three per grid. The promotion collection template comes with one; assign it to a collection under Theme template on the collection’s page in the admin.
  • An empty collection says so and links to all products. Choose a Suggested collection to show up to four of its products under that message.
  • When the filters match nothing, the text under No matching products shows with a button to clear them. See Search and filters.

Settings

SettingWhat it doesDefault
Color schemeScheme 1
LinePass beside the content: the line runs down the section’s side and draws nothing around its content. Pause here: the line goes behind the section and comes out below it.Options: Draw around the content, Pass beside the content, Pause here.Draw around the content
Products per pageFrom 8 to 48, in steps of 4.12
Columns on desktopFrom 2 to 4.3
Columns on phonesOptions: One, Two.Two
PaginationShow more button and Load as you scroll add the next page under the products already shown. The address keeps the page number, so Back returns to the same place.Options: Page numbers, Show more button, Load as you scroll.Show more button
Filtering and sorting
Enable filteringChoose the filters in the Search and Discovery app.On
Enable sortingOn
No matching products
Heading“No products match these filters”
Text“Try fewer filters, or clear them and start again from the whole coll…”
Empty collection
Suggested collectionUp to four products from the suggested collection show when the collection being viewed is empty. Leave blank to show nothing.

Blocks

Promotion (up to 3)

SettingWhat it doesDefault
Shows on collections whose theme template is “promotion” (collection.promotion): choose it on the collection’s page in the admin. The default collection template has no promotion block.
Image
Text above heading
Heading“Promotion”
Text“Tell customers about a product, a subscription or an offer.”
Link label“Shop now”
Link
PositionShown after this many products, on the first page only.From 1 to 24.6
Color schemeScheme 3