Magento2 : Difference between Extend a layout and Override layout

by hweb87   Last Updated August 28, 2018 11:09 AM

In Magento2 currently I am override xml file using below way

app/design/frontend/Vendor/Theme/Magento_Catalog/layout/default.xml

But I have seen in Magento dev docs different way to override XML.

app/design/frontend/Vendor/Theme/Magento_Catalog/layout/override/theme/Magento/luma/default.xml

Can anyone explain what is difference between Extend a layout and Override layout.



Related Questions


Override Magento 2 Adminhtml Template File

Updated March 02, 2017 12:09 PM


Overriding Magento 2 file causes fatal error

Updated November 29, 2017 02:09 AM