Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config:set --all feature request #900

Open
mikebranderhorst opened this issue Mar 17, 2017 · 1 comment
Open

config:set --all feature request #900

mikebranderhorst opened this issue Mar 17, 2017 · 1 comment

Comments

@mikebranderhorst
Copy link

Option to set value for path on all scopes

n98-magerun config:set --all design/head/default_robots "NOINDEX,NOFOLLOW"

# UPDATE core_config_data SET value = 'NOINDEX,NOFOLLOW' WHERE path = 'design/head/default_robots'
@tkn98
Copy link
Collaborator

tkn98 commented Mar 28, 2017

There is a way to achieve this IIRC, the config:delete allows --all already. So you can first delete all entries and then set the default one.

Please report back if that works in your case (or you maybe did it this way already?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants