Plugins are the brand new way of extending Magento 2 and, as often happens according to the law of the instrument, if all we have is a hammer, everything looks like a nail. This article will see the main differences between the good old events and plugins and when it still makes sense to use events instead of plugins to hook our customizations.
Want to modify Magento 2 class behavior without changing core files? In this video, we dive into Plugins (Interceptors)—one of the most powerful customization techniques in Magento 2.
24 Feb 2025
Plugins in Magento 2 are like secret agents — they step in, tweak behaviour, and vanish without leaving a trace. Whether you’re a beginner looking to understand how plugins work or an expert refining your customizations, this guide will help you master Magento 2 plugins without breaking a sweat. Let’s dive in and unleash the power of interceptors!
10 Dec 2024