This article describes the directory structure of Magento 2 ecommerce platform. I will address in detail the general directory structure, module catalog structure, theme catalog structure and naming conventions and namespaces, as well as describe how can you identify the files responsible for certain functionality in Magento 2 directory structure.
Each product in Magento 2 usually has several prices: regular, special, final, etc. Each type of price has its own class, which is responsible for calculating the total value of this price. Some types of prices are available for all products, while others are specific to a particular type of product.
Magento 2 offers 6 types of products so that store owners could choose among them according to the specifics of their business. Let’s take a look at each of the 6 types of products in Magento 2 and learn the basic methods for different types of products and some additional functionality for particular types.
One of the most common tasks during a site development is changing the appearance and the structure of the pages. In Magento 2, layout XML files are used to describe the structure of the pages. Developers most commonly have to solve two basic types of tasks: modification of the existing layout files and the creation of their own. Let’s take a closer look at these types of tasks.