Skip to Content
ReferenceBanner catalogInventory archive banner

Inventory archive banner

Audience: CMS editors and developers.

Type: InventoryCarsArchiveBanner.

This banner shows an archive of inventory cars with optional filters.

This banner includes the common banner props.

inventory cars archive preview

Properties

id●
string
required

CMS ID.

hideFilters●
boolean
required

If true, hide the filter controls.

query●
string
required

Backend query string used to fetch the listing.

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 inventory query parameters. See archive filter behavior for URL and CMS precedence.

const banner: InventoryCarsArchiveBanner = { typename: BannerTypename.InventoryCarsArchiveBanner, id: 'b_123', title: 'Vehicles', 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: 'BRAND=BMW&FUEL=1&CO2_CLASS=A&PRICE_MAX=40000', };
Last updated on