Hi,
Cart count is showing wrong count means it's showing from the previous cache value not from the actual cart count. So, I want to prevent the cart from caching. I'm using the below method to show the cart count.
<li><a href="/checkout/cart"><span id="spancart"><?php echo Mage::helper('checkout/cart')->getCart()->getItemsCount(); ?></span>Cart</a></li>
Please let me know how to prevent this.
Thanks.
Cart count is showing wrong count means it's showing from the previous cache value not from the actual cart count. So, I want to prevent the cart from caching. I'm using the below method to show the cart count.
<li><a href="/checkout/cart"><span id="spancart"><?php echo Mage::helper('checkout/cart')->getCart()->getItemsCount(); ?></span>Cart</a></li>
Please let me know how to prevent this.
Thanks.