Magento 2 Scope Overrides Are Silent: A Module to Surface Them in Admin

  • Автор темы Автор темы Sascha
  • Дата начала Дата начала

Sascha

Команда форума
Администратор
Ofline
https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnv0zvewwa7803g2b71e8.png


Magento / Adobe Commerce scope inheritance is powerful, but in day-to-day admin workflows, lower-scope overrides are easy to miss.

Teams often save values on All Store Views (catalog) or Default Config (system configuration), while effective behavior still comes from website/store-view scope. The result is unnecessary debugging and inconsistent admin outcomes.

To solve this, we built KodeXpo_ScopeOverrideInspector.

What the module does​


The module adds override visibility directly in admin on:

  • Product edit pages
  • Category edit pages
  • Stores > Configuration section pages

It shows:

  • where lower-scope overrides exist
  • which values differ from parent scope
  • which lower scope currently takes priority
  • direct links to open the overriding scope

For product/category store-view pages, it also adds helper actions:

  • Check All “Use Default Value”
  • Check All “Use Default Value” And Save

Why this matters​


In multi-store implementations, scope behavior is one of the most common sources of admin confusion.

This is especially visible in projects with:

  • multiple websites/stores/store views
  • localized catalogs
  • parallel merchandising + configuration changes by different roles

The goal is not to replace Magento’s scope model.
The goal is to make scope precedence explicit at the point of editing.

Key capabilities​

  • Product and category store-view override notices
  • Configuration override notices for default/website/store scopes
  • Masking of sensitive config values in comparisons ([HIDDEN])
  • Human-readable field labels (where available)
  • Configurable notice layout: Sidebar (default) or Inline

Installation​


composer require kodexpo/module-scope-override-inspector
bin/magento module:enable KodeXpo_ScopeOverrideInspector
bin/magento setup:upgrade
bin/magento cache:clean

Repository​


GitHub: GitHub - kodexpo/scope-override-inspector: Make Magento 2 scope overrides visible in admin for products, categories, and store configuration. https://github.com/kodexpo/scope-override-inspector

Feedback, issue reports, and implementation edge cases are welcome.

———

KodeXpo builds Magento / Adobe Commerce modules and backend tooling focused on operational clarity and admin productivity.
Contact: dev@kodexpo.com

 
Назад
Сверху Снизу