Skip to Content
ReferenceTemplatesTemplate placeholders

Template placeholders

Audience: CMS editors and integrators.

Built-in placeholders

Application code supplies these placeholders. Do not create CMS Variable records for them:

PlaceholderUsed inValue supplied by the applicationExample
{{TITLE}}Page metadata and /llms.txtPublic name of the current CMS page.Fahrzeuge bei Beispiel
{{URL}}Page metadata and /llms.txtCanonical or self URL of the current page.https://www.muster-autohaus.de/de/fahrzeuge
{{META_TITLE}}Page metadata and /llms.txtThe rendered meta title of the current page.Fahrzeuge bei Beispiel
{{META_DESCRIPTION}}Page metadata and /llms.txtThe rendered meta description of the current page.Gebrauchtwagen und Neuwagen bei Beispiel
{{GENERATED_SLUG}}Page-template slugsThe complete entity-specific path remainder, including nested path components.2562072/mini-cooper-classic-trim-gebraucht-gruen
{{RANDOM_4_ID}}Page-template slugsA four-character random URL-safe identifier generated with the backend slug-ID alphabet.k7m2
{{RANDOM_7_ID}}Page-template slugsA seven-character random URL-safe identifier generated with the backend slug-ID alphabet.k7m2q8a
{{VALID_FROM}}Deal legal leasing textThe deal start date, localized for the current request.Gültig ab {{VALID_FROM}}
{{VALID_THROUGH}}Deal legal leasing textThe deal end date, localized for the current request.Gültig bis {{VALID_THROUGH}}

These placeholders are different from CMS Variables: their values come from the page or deal being rendered.

Page-template slug placeholders

Inventory-car, shop-product, and shop-collection templates use the application-supplied placeholders below. Do not create CMS Variable records for these names. The application normalizes values into URL-safe slug segments before substitution.

The calling backend integration supplies values for car-deal and generic-page templates. The platform does not provide a data-source or automatic page-generation flow for those template types.

CMS Variables can also be path components. Templates use the generic uppercase name, such as {{SHOP_PATH}}. The application selects its localized value and normalizes it to a URL-safe path segment. See template resolution for the complete fallback rules.

The application generates {{RANDOM_4_ID}} and {{RANDOM_7_ID}} once when it creates a synchronization slug. Reusing a stored slug does not generate a replacement identifier.

Page-template typePlaceholderWhat the application suppliesExample value
Inventory car{{LOCALIZED_PATHNAME}}The localized path segment configured for inventory cars in the current language.fahrzeuge for German, vehicles for English
Inventory car{{INVENTORY_ID}}The stable internal inventory identifier. Use this to keep the URL unique when descriptive vehicle data changes.2562072
Inventory car{{VEHICLE_SLUG}}A descriptive slug built from the vehicle data.mini-cooper-classic-trim-gebraucht-gruen
Inventory car{{VEHICLE_MAKE}}The normalized vehicle manufacturer.mini
Inventory car{{VEHICLE_MODEL}}The normalized vehicle model or model variant.cooper-classic-trim
Inventory car{{VEHICLE_YEAR}}The vehicle model year.2024
Inventory car{{VEHICLE_CONDITION}}The localized and normalized vehicle condition.gebraucht for German, used for English
Inventory car{{VEHICLE_COLOR}}The localized and normalized primary exterior color.gruen for German, green for English
Inventory car{{GENERATED_SLUG}}The complete generated path after the localized inventory path, including every required path component.2562072/mini-cooper-classic-trim-gebraucht-gruen
Shop product{{LOCALIZED_PATHNAME}}The localized path segment configured for shop products in the current language.produkte for German, products for English
Shop product{{PRODUCT_ID}}The stable product identifier, without the Shopify GID prefix.987654321
Shop product{{PRODUCT_TITLE}}The normalized, localized public product title.mini-dachbox
Shop product{{PRODUCT_SLUG}}The normalized product slug used for routing.mini-dachbox
Shop product{{GENERATED_SLUG}}The complete generated product-specific path remainder.mini-dachbox-987654321
Shop collection{{LOCALIZED_PATHNAME}}The localized path segment configured for shop collections in the current language.kollektionen for German, collections for English
Shop collection{{COLLECTION_ID}}The stable collection identifier, without the Shopify GID prefix.44556677
Shop collection{{COLLECTION_TITLE}}The normalized, localized public collection title.mini-zubehoer
Shop collection{{COLLECTION_HANDLE}}The normalized Shopify collection handle.mini-accessories
Shop collection{{COLLECTION_SLUG}}The generated collection slug used for routing.mini-accessories
Shop collection{{GENERATED_SLUG}}The complete generated collection-specific path remainder.mini-accessories
Car deal{{LOCALIZED_PATHNAME}}The localized path segment extracted from the canonical generated slug.angebote for German, deals for English
Car deal{{DEAL_ID}}The stable deal identifier.42
Car deal{{DEAL_TITLE}}The normalized, localized public deal title.bmw-ix1-leasing
Car deal{{DEAL_TYPE}}The normalized deal or audience type.privat
Car deal{{VEHICLE_BRAND}}The normalized brand of the linked vehicle.bmw
Car deal{{VEHICLE_MODEL}}The normalized model of the linked vehicle.ix1
Car deal{{VEHICLE_SERIES}}The normalized model series of the linked vehicle.u11
Car deal{{VEHICLE_CATEGORY}}The normalized, localized vehicle category.gelaendewagen
Car deal{{GENERATED_SLUG}}The complete generated deal-specific path remainder.42/bmw-ix1-leasing
Generic page{{PAGE_ID}}The stable page identifier.clx123abc
Generic page{{PAGE_NAME}}The normalized internal page name.ueber-uns
Generic page{{PUBLIC_NAME}}The normalized, localized public page name.ueber-uns
Generic page{{PAGE_TYPE}}The normalized page type.general
Generic page{{GENERATED_SLUG}}The complete page-relative slug, including nested path components.unternehmen/ueber-uns

Example templates:

Inventory car: /{{LOCALIZED_PATHNAME}}/{{INVENTORY_ID}}/{{VEHICLE_SLUG}} Shop product: /{{LOCALIZED_PATHNAME}}/{{PRODUCT_SLUG}}-{{PRODUCT_ID}} Shop collection: /{{LOCALIZED_PATHNAME}}/{{COLLECTION_HANDLE}} Car deal: /{{LOCALIZED_PATHNAME}}/{{VEHICLE_BRAND}}-{{VEHICLE_MODEL}}-{{DEAL_ID}} Generic page: /{{PAGE_TYPE}}/{{PUBLIC_NAME}}

The application adds the locale prefix automatically. Do not include it in the template. Stable identifiers and descriptive fields give stable paths. Changing values such as prices, mileage, stock, tags, or validity dates cause unnecessary URL changes.

Last updated on