DmfCmsImportExport
DmfCmsImportExport exports and imports CMS pages and theme configurations. Both the administration and the console are first-class interfaces, ideal for migrating between environments, taking backups, and shipping content states through CI/CD.
Quick facts
| Composer package | dmf/sw6-plugin-cmsimportexport |
| Plugin class | Dmf\CmsImportExport\DmfCmsImportExport |
| Namespace | Dmf\CmsImportExport |
| Shopware | ~6.7.0 |
| PHP extensions | ext-zlib, ext-curl |
Installation
bash
composer require dmf/sw6-plugin-cmsimportexport
bin/console plugin:refresh
bin/console plugin:install --activate DmfCmsImportExport
bin/console cache:clearFeatures
- Shopping Experiences export/import, including slots and configuration values.
- Theme configurations export/import, every
theme.json-backed value. - Admin UI directly in the Shopware backend.
- CLI commands for CI/CD and local development.
- Includes media references, slots, and configuration values.
CLI commands
Export a CMS page
bash
bin/console dmf:cms:export --id=<cms-page-uuid> --file=export| Option | Description |
|---|---|
--id=ID | CMS page UUID |
--file=FILE | Export file name (default: export) |
Import a CMS page
bash
bin/console dmf:cms:import --file=<exportfile>| Option | Description |
|---|---|
--file=FILE | File to import |
Export theme configuration
bash
bin/console dmf:theme:export --id=<theme-uuid> --file=export| Option | Description |
|---|---|
--id=ID | Theme UUID |
--file=FILE | Export file name (default: export) |
Import theme configuration
bash
bin/console dmf:theme:import --id=<theme-uuid> --file=<exportfile>| Option | Description |
|---|---|
--id=ID | Target theme UUID |
--file=FILE | File to import |
Configuration
No plugin configuration. Features are available immediately via admin and CLI after activation.
Notes
Schema major versions
Exports are not guaranteed to be portable across Shopware schema major versions. Keep source and target Shopware versions compatible.
CI/CD
The CLI commands work well for declarative content deployments: check experience.json into the repo and import it in your pipeline step.