Configuration export/import

You can transfer the theme configuration without manually copying each value from theme to theme.

Basics

Shopware stores the theme configuration in the database. In the database table theme there is a separate entry for each theme, child theme and/or duplicate theme. You can recognize each theme by its name (1).

The base_config (2) column contains the theme configuration with all its default values. You must not make any changes here.

The config_values (3) column, on the other hand, contains the values you set in the theme styling. You can save the content of this column or transfer it to one of the other Zenit Design themes. For example, you can transfer the configuration between the test system and the live system.

Via the free extension Adminer for the Admin you can easily access your database via the administration.

Transfer configuration

Backup: Create a database backup before making any changes to the database.

Export theme configuration

  1. Open the database of the shop

  2. Navigate to the table theme

  3. Click on Edit (4) of the desired theme.

  4. Copy the content from the config_values (3) field into a text file e.g. *.txt to save a backup.

Import theme configuration

  1. Open the database of the shop

  2. Navigate to the table theme

  3. Click on Edit (4) of the desired theme.

  4. Copy the exported content into config_values (3)

  5. Save

  6. In the administration, the theme configuration of the sales channel with this theme must now be saved. The sales channel is then created with the new settings.

Notes

  • In Shopware Cloud stores, there is no access to the database.

  • When transferring the theme configuration, make sure that the source and target themes have the same version number.

  • Copy the theme configuration only in Zenit Design themes. Other themes have a different configuration and are not compatible.

  • Media such as logos must be re-uploaded after copying the theme configuration to another store.

Last updated