mini-menu section ships hidden with three placeholder links. Set hidden: false and replace items with your own links to use it.
The content-block section ships hidden and empty. Set hidden: false and give it a title, body, image or link to use it — and optionally a visibleTo rule so only some shoppers see it.
An item’s title may be either literal text or a translation key prefixed with t:, which is resolved against the shopper’s language. Four common titles are translated into every supported language:
Any other
title renders verbatim in every language. To translate your own, add the key to translations — see Translations.
Section types
sign-in
The Saves and Lists views carry the same section with their own
message, so each view can make a different case for signing in.
content-block
A block with neither text nor an image renders nothing.
Targeting a block at some shoppers
visibleTo narrows who an enabled block reaches. Omit it and the block shows to everyone.
customerTags list also means signed in, and pairing it with audience: "signed-out" shows the block to nobody.
Tags come from context.customer.tags. On Shopify themes the app embed supplies them; headless stores pass them themselves — see Configuration.
Home ships one content block and you can add up to three. In the customiser, Views → Home has an Add content block button under the section list, a delete control on each block, and a drag grip on every row so you can put a block anywhere among the other sections. The button goes disabled at three.
The Saves and Lists views carry the same section, with their own blocks and their own cap of three. Everything on this page — the options, the targeting rules, the stacking — applies there identically.
Blocks stack: a shopper matching several sees all of them, in the order the sections are listed. hidden: true still switches a block off for everyone regardless of visibleTo.
Adding and deleting blocks is done in the customiser. The setup assistant can
edit a block you already have — including its
visibleTo rule — but can’t
create or remove one.visibleTo too, so a block aimed at shoppers the preview isn’t won’t appear there. It stays in the Sections list, which is where you edit it.
Examples
Reorder sections and add a content block
Add a featured collection
handle property is the Shopify collection handle. The section displays products from that collection in a horizontal slider.
Further reading
- Views overview for how sections work
- Drawer to configure the drawer header and footer