I'm trying to show subtotal in minicart block. I've overridden minicart.phtml in my theme and added the below code:
<span data-bind="html: getCartParam('subtotal_excl_tax'), blockLoader: isLoading"></span>
Its showing subtotal on page refresh. But when I add product in the cart the amount doesn't load by Ajax.
Can anyone help me in this?
Thanks in advance.