Skip to main content Skip to search Skip to main navigation
Diese Seite ist auch auf Deutsch verfügbar.
P2Lab sp. z o.o.

Dynamic Variables | Multi-Language & Multi-Channel Content Placeholders for CMS

Rating: no rating ( write a review )
Downloads: <10

Description

Highlights

  • Simple {placeholder} syntax — use variables in CMS pages, products and categories
  • Multi-language and multi-channel values with automatic fallback to global defaults
  • WYSIWYG editor integration with variable picker button and live content preview
  • Per-variable CSS and JavaScript injection — only loaded when the variable is used
  • 4 built-in system variables (shop name, email, address, bank account) work instantly

Features

  • Unlimited custom variables with unique keys
  • Channel-specific values with automatic fallback to global defaults
  • Scope control: restrict variables to CMS pages, products, or categories
  • Nested variable references for composable content (one level deep)
  • Live preview in CMS editor showing resolved variable values
  • CMS page replacement: text blocks, HTML blocks, and product descriptions
  • Product replacement: name, description, meta title, meta description
  • Category replacement: name, description, meta fields, breadcrumbs, navigation
  • Request-level caching per sales channel and scope for optimal performance

About the Extension

Dynamic Variables lets you define reusable content placeholders that get automatically replaced throughout your Shopware 6 store. Use simple {variableName} syntax in CMS pages, product descriptions, and category content — with full multi-language and multi-channel support.

How It Works

Create named variables in the admin panel and assign them values. Then use {variableName} anywhere in your CMS text blocks, product names, descriptions, or category content. The plugin automatically replaces placeholders with the correct value based on the current language and sales channel.

Built-In Variables

Four system variables are available out of the box — no setup required:

  • {shopName} — Your store name from basic settings
  • {shopEmail} — Your store email address
  • {shopAddress} — Your store address
  • {shopBankAccount} — Your bank account details

Custom Variables

Create unlimited custom variables with:

  • Multi-language values — Different content per language, using Shopware's native translation system
  • Multi-channel values — Channel-specific values with automatic fallback to global defaults
  • Scope control — Restrict variables to CMS pages, products, categories, or allow them everywhere
  • Per-variable CSS & JavaScript — Attach custom styling and scripts that are only injected when the variable is actually used on a page
  • Nested variables — Reference other variables within variable values for composable content

Three Replacement Scopes

  • CMS Pages — Replace variables in all CMS text and HTML blocks
  • Products — Replace in product name, description, meta title, and meta description
  • Categories — Replace in category name, description, meta fields, and breadcrumbs

Editor Integration

The plugin adds a Dynamic Variables button directly into the Shopware WYSIWYG text editor. Click it to browse and insert available variables — no need to remember variable keys. A live preview shows you the resolved content right in the CMS editor before you publish.

Smart Value Resolution

When a page loads, the plugin automatically:

  1. Finds all {variable} placeholders in the content
  2. Checks if the variable is active and applies to the current scope
  3. Selects the channel-specific value, or falls back to the global value
  4. Resolves nested variable references (one level deep)
  5. Replaces the placeholder with the final value in the correct language
  6. Injects associated CSS and JavaScript only for variables that were actually used

Details

  • Available: English, German
  • Latest update: 2 April 2026
  • Publication date: 2 April 2026
  • Version: 1.67.0
  • Category: Special features

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

P2Lab sp. z o.o.

P2Lab sp. z o.o.

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 5

    Average rating of 5 out of 5 stars

  • Partner since: 2023
  • Extensions: 10

Support

  • Based in: Poland
  • Speaks: German, English
  • Response time: Very quickly