When building Magento extension, sometime you have to overwrite core function in magento to have custom function. You can use Rewrite function in magento but it is not good solution. If you don’t want to change core class directly, You can use Magento 2 Plugin because it allows editing the behavior of any public class … Continue reading “Magento 2 How to use plugin.”
Category: Magento 2 Knowledge Base
Magento 2 is the latest incarnation of the leading enterprise-class eCommerce platform, utilised by over 200,000 online retailers. In fact, it’s estimated that 1 in 4 businesses are using the Magento software.
If you’re familiar with previous versions of Magento, you’ll already be well aware of its ease of use and other beneficial features, but M2 takes that to a whole new level, creating the most user-friendly and scalable eCommerce environment yet.
In order to build ecommerce website with Magento 2, and still professionally, you should have tons of knowledge of Magento. You also need understanding about hosting, domain. It seem you have to tons of knowledge, Don’t worry about that. We will make a lot Magento 2 tutorials, you can more easy to build own ecommerce website with Magento 2.
How To Use Magento 2 Events and Observers
Magento 2 Events Events are dispatched by Magento 2 Modules whenever specific actions are triggered. When an event dispatches, it passes data to the observer that is configured to watch (or monitor) that event. You can dispatch Magento 2 Events using the Magento\Framework\Event\Manager class. This class can be obtained through dependency injection by defining the dependency in the constructor method of … Continue reading “How To Use Magento 2 Events and Observers”