Skip to main content

config:store:set

Set a store config value.

n98-magerun2.phar config:store:set [--scope[="..."]] [--scope-id[="..."]] [--encrypt] [--no-null] <path> <value>

Arguments:

ArgumentDescription
pathThe store config path like "general/local/code"
valueThe config value

Options:

OptionDescription
--scopeThe config value's scope (default: default). Can be default, websites, stores)
--scope-idThe config value's scope ID (default: 0)
--encryptEncrypt the config value using crypt key
--no-nullDo not treat value NULL as NULL (NULL/"unknown" value) value