Skip to content

Shopware Configurations

Shopware Configurations ​

Overview ​

The following section guides you on the security, performance or structural configurations specific to Shopware 6.

How Shopware configuration works ​

Shopware configuration can come from different places, depending on whether the value is operational, environment-specific, or meant to be changed by shop administrators.

MechanismUse it forWhere it lives
Database-backed system configurationShop settings that can be changed in the Administration, through Admin API, or by app/plugin codeStored in the database and read through Shopware's system configuration
Static system configurationSettings that must be fixed, versioned, or controlled per environmentconfig/packages/*.yaml under shopware.system_config
Symfony / bundle configurationTechnical runtime configuration for Shopware, Symfony, or bundlesconfig/packages/*.yaml, including environment-specific folders such as config/packages/prod/
Environment variablesSecrets, infrastructure values, and deployment-specific values.env, .env.local, server/container environment, or deployment platform
CLI commandsReading, writing, or inspecting configuration during development, deployment, or maintenancebin/console / shopware-cli project console

As a rule of thumb: use Administration or database-backed system configuration for shop settings that merchants may change, static system configuration for values that should be fixed or version-controlled, and environment variables or Symfony configuration for deployment and infrastructure settings.

Static system configuration is an overlay on top of database-loaded system configuration. If the same key is configured in both places, the value from config/packages wins and the setting can no longer be changed in the Administration.

For details, see Static System Configuration.

Was this page helpful?
UnsatisfiedSatisfied
Be the first to vote!
0.0 / 5  (0 votes)