Collection archive banner
Audience: CMS editors and developers.
Type: CollectionArchiveBanner.
This banner shows an archive of Shopify collections with optional filters.
This banner includes the common banner props.

Properties
id●required
string
CMS ID.
hideFilters●required
boolean
If true, hide the filter controls and keep the archive list visible.
query●required
Array<QueryFilter>
CMS default filters for the first render. URL priority rules apply.
Exactly one archiveSearch action is required. A null destination shows results inline; a link opens the configured destination.
Behavior and limits
For parameters and sorting, see collections query parameters. See archive filter behavior for URL and CMS precedence.
Example
const banner: CollectionArchiveBanner = {
typename: BannerTypename.CollectionArchiveBanner,
id: 'b_123',
title: 'Collections',
titleTag: 'h2',
titleAlign: 'left',
cssId: null,
cssClasses: null,
hideFilters: false,
buttons: {
items: [
{
id: 'search',
action: 'archiveSearch',
text: null,
style: 'primary',
theme: null,
url: null,
contactForm: null,
},
],
align: 'left',
width: 'intrinsic',
overflow: 'wrap',
},
query: [
{
origin: FilterOption.ShopifyCollection,
value: 'gid://shopify/Collection/123',
},
],
};Last updated on