Skip to Content
How-to guidesPages and contentUse template variables

Use template variables

Audience: CMS editors and integrators.

Use this guide for metadata or a page-template slug that supports variables. You need permission to edit CMS Variables and the target page or template.

Use a CMS Variable

  1. Choose an uppercase base name with underscores, such as SHOP_NAME.
  2. Create a CMS Variable with that exact name and the required value.
  3. Reference the base name with double braces in the target field.
  4. Save the variable and the page or template.
  5. Inspect the rendered result in each intended language.
Variable name: SHOP_NAME Variable value: Autohaus Beispiel Page meta title: Fahrzeuge bei {{SHOP_NAME}}

Create every CMS Variable used by the template. A missing record renders as an empty string. Use the fixed names exactly when configuring system values.

Add a localized value

  1. Keep the base record as the fallback value.
  2. Create a locale-specific record, such as SHOP_NAME.de.
  3. Enter the text for that language.
  4. Keep {{SHOP_NAME}} in the template. Do not replace it with {{SHOP_NAME.de}}.
  5. Inspect both the localized page and a language that uses the fallback.

An empty localized value overrides the base value. See template resolution for lookup behavior.

Set a page-template slug

  1. Select placeholders for the template’s entity type from the placeholder reference.
  2. Use stable identifiers and descriptive fields.
  3. Do not use prices, mileage, stock, tags, or validity dates in the path.
  4. If a path component uses a CMS Variable, create its base and localized records as required.
  5. Do not include the locale prefix. The application adds it.
  6. Save the template and inspect a generated page in each intended language.

Use the generated entity path for inventory, products, or collections. Car-deal and generic-page integrations must supply their own data and page-generation flow.

Use triple braces only when trusted CMS content is intended to contain HTML. The syntax reference defines escaping and supported fields.

Last updated on