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

Allow using values from config.xml #2542

Merged
merged 1 commit into from
May 23, 2022

Conversation

fredden
Copy link
Contributor

@fredden fredden commented Apr 25, 2022

Many settings in this module lack a 'use system value' or 'use default value' check-boxes. There are suitable settings in etc/config.xml for these, but the same values are being set in the core_config_data table in the database unnecessarily, especially when changing only one value at a store view to also have all settings copied / overridden at that scope. This is misleading when later changing a value at a parent scope as the value at the more specific scope won't change too.

This pull request fixes this problem by allowing these values to be inherited normally.

https://devdocs.magento.com/guides/v2.4/config-guide/prod/config-reference-systemxml.html#field-attribute-reference

@romainruaud romainruaud added the safe to test PR can be tested label Apr 25, 2022
@romainruaud romainruaud merged commit 3369d6c into Smile-SA:2.10.x May 23, 2022
@fredden fredden deleted the use-system-value branch May 23, 2022 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test PR can be tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants