Categories


Archives


Recent Posts


Categories


Magento 2: etc has an area hierarchy.

astorm

Frustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.

Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!

One thing that keeps biting me in the trnasition from Magento 1 to Magento 2 is that sometimes the etc folder has an area hierarchy.

For example, in Magento 1, you system configuration file (respoisble for building out a module’s configuratioin UI) lived in

etc/system.xml

In Magento 2 this file lives in

etc/adminhtml/system.xml

Magento 2’s way make more sense (and reflects that the “area” system is well thought out), but it takes a little getting used to. If you’re not seeing the configuration changes, check to make sure your file’s in the right spot.

Copyright © Alan Storm 1975 – 2019 All Rights Reserved

Originally Posted: 19th November 2015