Skip to content

Installation

P2Lab Dynamic Variables installs like any other Shopware 6 plugin. Once it is active you’ll find a new Dynamic Variables entry under Settings → Content in the admin sidebar.

  • Shopware 6.6 or 6.7
  • PHP version that matches your Shopware installation
  • Admin access to install / activate plugins and clear the cache
  1. Download the plugin ZIP from your account or the Shopware Store.
  2. In the admin panel, go to Extensions → My Extensions.
  3. Click Upload extension and select the ZIP file.
  4. Click Install next to the new entry.
  5. Click Activate once installation finishes.
  6. Clear the cache when prompted (or via Settings → Caches & indexes).

From your Shopware root:

Terminal window
composer require p2lab/dynamic-variables
bin/console plugin:refresh
bin/console plugin:install --activate P2LabDynamicVariables
bin/console cache:clear

After activation:

  1. Go to Settings → Content — you should see a Dynamic Variables entry.
  2. Open it. The list is empty at first; the four built-in variables ({shopName}, {shopEmail}, {shopAddress}, {shopBankAccount}) are always available even without explicit entries.
  3. Open any CMS page in Content → Shopping Experiences, edit a text block — the editor toolbar should expose a Dynamic Variables button.

If any of these are missing, re-run the cache clear and reload the admin.