Skip to Content
ReferenceArchive queriesArchive filter behavior

Archive filter behavior

Audience: CMS editors and developers.

Archive banners combine CMS defaults with the filter controls supported by their archive type. The rendered query format differs between banner types. Use each banner’s property contract.

URL filtering behavior

ArchiveURL synchronizationCMS defaults and hideFilters
InventoryEnabled when filters are visibleURL filters take priority. Without URL filter state, use CMS defaults. Hidden filters use CMS defaults and ignore URL filters.
DealsEnabled when filters are visibleSame precedence as inventory.
ProductsEnabled when filters are visibleSame precedence as inventory.
CollectionsEnabled when filters are visibleSame precedence as inventory.
ContactsDisabledApply CMS defaults during initialization. hideFilters only hides the controls. Do not restore f= URL state.
LocationsDisabledApply CMS defaults during initialization. hideFilters only hides the controls. Do not restore f= URL state.
PagesDisabledApply CMS defaults during initialization. hideFilters only hides the controls.

Contact, location, and page archives use disableUrlSync: true. For URL-enabled archives, filter changes persist in the browser URL.

Query syntax and ID precedence

String queries use URL query syntax. Join parameters with &. Repeat a key only when the archive parameter reference permits repeated values. The supported keys and value types differ between archives.

When ID is present, these archives ignore other filters. Sorting and pagination still apply. Shopify product and collection IDs can use raw IDs or full Shopify GIDs. Other archive references specify their own entity identifiers.

Use serialized SortOption and OrderOption values for sort and order. The sort options differ between archive types.

CMS price mode default

PRICE_MODE applies to inventory, deal, and Shopify product archives. It accepts case-insensitive NET or GROSS. Without this setting, the shared default is gross. It is a price-display default, not an interactive filter. Do not include it in URL filter state.

ArchiveEffect
InventoryInitial request price basis, price filters, price sorting, and displayed vehicle prices
DealsInitial request price basis, price filters, and displayed deal prices
ProductsInitial request price basis, price filters, and displayed product prices

The price-mode switch overrides the CMS default for the current interaction.

Last updated on