I tried to update the price of each product in cart each time I load a page. I used observer and event catalog_product_collection_load_after
. I tried to get each item in the cart from observer but its always null if I do var_dump for it. Am I doing it wrong?
Observer :
public function execute(\Magento\Framework\Event\Observer $observer) {
$quoteItem = $observer->getQuoteItem();
var_dump($quoteItem); //always NULL
}