Skip to content

Total Cart Price in Magento 2

Sorry for the beginner question and seriously needed help but currently I am using the checkout module to get the total cart price and display it in my header however the problem is that when I add something to the cart the total cart price is not updated in the header however when I am in the checkout page it suddenly updated. Is their any way I can make the total cart price update real time even though I am not in the checkout page ?