Skip to Content
ReferenceBanner catalogCollection archive banner

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.

Collection archive banner

Properties

id●
string
required

CMS ID.

hideFilters●
boolean
required

If true, hide the filter controls and keep the archive list visible.

query●
Array<QueryFilter>
required

CMS default filters for the first render. URL priority rules apply.

buttons●required

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