Skip to content

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 packagedmf/sw6-plugin-cmsimportexport
Plugin classDmf\CmsImportExport\DmfCmsImportExport
NamespaceDmf\CmsImportExport
Shopware~6.7.0
PHP extensionsext-zlib, ext-curl
Repositorydmf / plugin-cms-import-export

Installation ​

bash
composer require dmf/sw6-plugin-cmsimportexport
bin/console plugin:refresh
bin/console plugin:install --activate DmfCmsImportExport
bin/console cache:clear

Features ​

  • 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
OptionDescription
--id=IDCMS page UUID
--file=FILEExport file name (default: export)

Import a CMS page ​

bash
bin/console dmf:cms:import --file=<exportfile>
OptionDescription
--file=FILEFile to import

Export theme configuration ​

bash
bin/console dmf:theme:export --id=<theme-uuid> --file=export
OptionDescription
--id=IDTheme UUID
--file=FILEExport file name (default: export)

Import theme configuration ​

bash
bin/console dmf:theme:import --id=<theme-uuid> --file=<exportfile>
OptionDescription
--id=IDTarget theme UUID
--file=FILEFile 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.