Skip to content

Plugin settings

Open Settings → Extensions → Dynamic Variables (or via Extensions → My Extensions → Dynamic Variables → Configure) to control where the plugin replaces variables and whether the editor preview is on.

All four toggles can be configured per sales channel — switch the sales channel selector at the top of the configuration page to override values for a specific channel.

ToggleDefaultPurpose
Enable variable replacement in CMSonReplaces {variable} placeholders in CMS text blocks, HTML blocks and product descriptions rendered through CMS.
Enable variable preview in editoronShows the resolved value live inside the Shopware WYSIWYG editor so you can verify content before publishing.

Why two separate toggles: the editor preview runs in the admin only and has no storefront impact. You can leave the storefront replacement off while you experiment with the picker, or turn the preview off if you prefer to see the raw {variable} syntax in the editor.

ToggleDefaultPurpose
Enable variable replacement in productsoffReplaces {variable} placeholders in product name, description, meta title and meta description.

Off by default — turn it on once you have decided which variables make sense for product copy. Most shops only need the CMS scope.

ToggleDefaultPurpose
Enable variable replacement in categoriesoffReplaces {variable} placeholders in category name, description, meta fields, breadcrumbs and navigation labels.

Off by default. Be deliberate here — replacements in category names also flow into the main navigation, so a broken or empty variable can be very visible.

The plugin checks two things before replacing a placeholder:

  1. The plugin-level toggle for that scope (CMS / Product / Category) must be on.
  2. The variable’s own scopes must include the current scope, or be empty (= any scope).

This lets you globally enable a scope while still restricting individual variables to only the contexts where they make sense — see Variable scopes.

Variable values are cached per request by sales channel and scope. After changing a value in the admin, clear the HTTP / object cache so the storefront picks the new value up.