Tag

magento2 Product

Browsing

When we work in magento2 with out of box customization then we might need product old data after change new value to compare data. In this blog we are going to get product old value after set new value. For get this we need to create observer.First, Create event observer of catalog_product_save_afterPath : app/code/MageDad/Module/etc/adminhtml/events.xml Then create observer file at path: app/code/MageDad/Module/Observer/ProductSaveAfter.php I hope this blog is useful get old and new data of product after…