Plugins in Magento 2

Plugins in Magento 2

The old way: If you come from Magento 1 world, then you probably know you have 3 main options to change an internal behaviour: Create an observer Create a class rewrite Create a local overriding class All the three ways has pro and cons, expecially when you want to...