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.
Requirements
Section titled “Requirements”- Shopware 6.6 or 6.7
- PHP version that matches your Shopware installation
- Admin access to install / activate plugins and clear the cache
Install via Plugin Manager
Section titled “Install via Plugin Manager”- Download the plugin ZIP from your account or the Shopware Store.
- In the admin panel, go to Extensions → My Extensions.
- Click Upload extension and select the ZIP file.
- Click Install next to the new entry.
- Click Activate once installation finishes.
- Clear the cache when prompted (or via Settings → Caches & indexes).
Install via Composer
Section titled “Install via Composer”From your Shopware root:
composer require p2lab/dynamic-variablesbin/console plugin:refreshbin/console plugin:install --activate P2LabDynamicVariablesbin/console cache:clearVerify the install
Section titled “Verify the install”After activation:
- Go to Settings → Content — you should see a Dynamic Variables entry.
- Open it. The list is empty at first; the four built-in variables (
{shopName},{shopEmail},{shopAddress},{shopBankAccount}) are always available even without explicit entries. - 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.
What’s next
Section titled “What’s next”- Plugin settings — turn product / category replacement on if you need it.
- Your first variable — walk through a complete example.