Deal archive banner
Audience: CMS editors and developers.
Type: CarDealsArchiveBanner.
This banner shows an archive of car deals 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.
query●required
string
Backend query string used to fetch the listing.
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 deals query parameters. See archive filter behavior for URL and CMS precedence.
Example
const banner: CarDealsArchiveBanner = {
typename: BannerTypename.CarDealsArchiveBanner,
id: 'b_123',
title: 'Offers',
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&TAG=aktion&OFFER_TYPE=PRIVAT&FUEL=PETROL',
};Last updated on