Backend Model performs the loading, saving, deleting, validation of the attribute value. Source Model provides a list of attribute values, which is used for the dropdown/multiselect attributes. Frontend Model performs attribute mapping on the frontend.
Magento 2 Development
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.
The key feature of the Magento platform is its modularity. It consists of a number of small elements (modules), which are designed to work both individually and In connection with each other. When all parts are combined, the platform resembles a living organism that consists of a multitude of cells, each having its own function.
Magento 2 is a whole universe: it is just as complex and multifaceted and it is just as bloody interesting to figure it out. And although people will hardly ever fully understand the universe, there every chance for us to understand Magento. We can start doing it right now! Today we talk about the cache commands in Magento 2 console.
Custom totals help you modify the calculation process in the shopping cart. They can be used to add an extra tax or discount to Magento Checkout or modify the existing ones and they are later applied to the products in the shopping cart. BTW, this topic is included into the Magento 2 professional developer certification exam.
One of our clients needed to add a custom order status “in preparation” and to send an email along with changing to this status. Moreover, the client’s requirement included the ability to change the status of the order from the orders grid using the mass action.
Determining a customer’s country is widely used in many online stores. Geolocation (often called GeoIP) is used for implementing various scenarios, such as setting the default language, currency, delivery methods and redirecting a user to another URL created specifically for his country.
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.
In this article we will take a look at another topic from Magento 2 front end developer certification — using and customizing categories in Magento 2. We will take a look at such points of these topic, as creating and managing categories, category hierarchy, the construction of paths, attribute values for displaying a new category in the store and strategies for organizing products into categories.