How To Use Event, Observer To Get Quote Data In Magento 2
In this blog, we will explain how to get quote data in a cart using event and observer in Magento 2. Follow the steps given below: Step – 1: Create an events.xml file in the given path app/code/Webiators/CustomChanges/etc/events.xml Step – 2: Create SalesQuoteSaveAfterObserver.php in given path app/code/Webiators/CustomChanges/Observer/SalesQuoteSaveAfterObserver.php Step – 3: Run Command in Magento 2 […]