Is it something like this?
config/Shared/config-default.php
config/Shared/config-default_{store}.php
config/Shared/config-default_{environment_name}.php
config/Shared/config-default_{environment_name}_{store}.php
Or is it only using ?
config/Shared/config-default_{environment_name}.php
config/Shared/config-default_{environment_name}_{store}.php
Is there anywhere a documentation for this, because I can not find any…
Just take a look here → \Spryker\Shared\Config\Config::init
Just take a look here → \Spryker\Shared\Config\Config::init
Thanks @ynnoig!
For everyone newbie like me:
The config files are imported in this order according to the accepted answer!
config/Shared/config-default.php
config/Shared/config-default_{environment_name}.php
config/Shared/config-default_{store}.php
config/Shared/config-default_{environment_name}_{store}.php
config/Shared/config_local_test.php
config/Shared/config_local.php
config/Shared/config_local_{store}.php
config/Shared/config_propel.php
Cheers Andy!
Hi @andreas.fluer , just a slight, nitpicky, correction to the numbers 3, 4 and 7:
The config loaded there is not necessarily the store (even if it is so by default) but the Codebucket, which happens to be mapped to the Store by default:
(I just happen to be integrating the Dynamic Multistore feature, and this is one of the things we need to resolve :) )