experius/magento2-configscopehints
Composer 安装命令:
composer require experius/magento2-configscopehints
包简介
Magento 2 store config override hints module
README 文档
README
This module shows information in the Store Configuration backend UI when a config field is overridden at more specific scope(s), along with information about these scope(s).
Installation
This module can be installed manually or by using Composer (recommended).
Composer Installation
Each of these commands should be run from the command line at the Magento 2 root.
# add this repository to your composer.json $ composer config repositories.magento2-configscopehints git https://github.com/experius/magento2-configscopehints.git # require module $ composer require experius/magento2-configscopehints # enable module $ php -f bin/magento module:enable EW_ConfigScopeHints $ php -f bin/magento setup:upgrade
Manual Installation
First, download contents of this repo into app/code/EW/ConfigScopeHints using a command similar to the following in the Magento 2 root.
$ mkdir -p app/code/EW # create vendor directory $ wget https://github.com/experius/magento2-configscopehints/archive/master.zip # download zip of module contents $ unzip master.zip -d app/code/EW # unzip module into vendor directory $ mv app/code/EW/magento2-configscopehints-master app/code/EW/ConfigScopeHints # correct directory name $ rm master.zip # clean up zip file
Finally, enable module by running the following from the command line at the Magento 2 root.
$ php -f bin/magento module:enable EW_ConfigScopeHints $ php -f bin/magento setup:upgrade
Sit back and enjoy!
Usage
After installing the module, when viewing a system configuration field, an alert icon and message will be shown below the field value if it has been overridden at a more specific scope.
The icon is only shown when the value is overridden at a more specific scope than the current one – that is, if viewing at the default scope, overrides at the website or store view level are shown, but if viewing at the website level, only overrides below the currently selected website are shown.
Along with the alert message, a detailed list of the exact scope(s) that override the value, with links directly to the store config for the current section at those scopes. Clicking an override hint row arrow will expand the row to also show the field's value at that scope.
Compatibility and Technical Notes
As of version 3.0.0 of this module has been tested against Magento 2.1.x. It's likely compatible with 2.0.x as well, but this is untested.
NOTE: For known compatibility with 2.0.x, check out version 2.1.0 of the module.
Known Issues
MAGETWO-62648
When used on Magento 2.1.3, the module can produce a false positive when viewing a website scope. If a given config value has been overridden at this website scope, any children store views which have "Use Website" set for the value will incorrectly show as being overridden.
This is a known core bug.
Non-standard Fieldset Renderers
Store config groups which use non-standard fieldset renderers are currently ignored. Of the native store config fields, the following exhibit this trait.
- Advanced -> Advanced -> Disable Modules Output
- Sales -> Payment Methods
experius/magento2-configscopehints 适用场景与选型建议
experius/magento2-configscopehints 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 129.56k 次下载、GitHub Stars 达 8, 最近一次更新时间为 2020 年 05 月 14 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 experius/magento2-configscopehints 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 experius/magento2-configscopehints 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 129.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 28
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-05-14