In this article we are going to overview Magento 2 layout and its components, such as containers, blocks and actions. The structure of Magento website pages is defined in layout files by instructions and declarations of the basic page elements.
It’s much easier to add “Image” attribute during upgrade or installation process of your module in the following files:
To add a new field on a checkout page you need to use the Dependency Injection mechanism. For that let’s add the file di.xml to the frontend configuration of the module. Here is the path to the file:
At first let’s make clear what is Magento application? Magento it’s a CMS (content management system) specially designed and developed for web stores creating, in other words it’s an e-commerce platform. And Magento application it is a component of this system that processes user request and returns the final result.