Update "My Cart" link using AJAX add to cart Magento
Posted on 2013-01-06
I have a question regarding AJAX calls in Magento. I've installed an extension which allows products to be added to the shopping cart without refreshing the page and it is working fine for the cart sidebar. However, I also have the number of items displayed in the
"My Cart (4 items)" link in the header which is not being updated until the page is refreshed.
I'm looking for a way to update the toplink too?
If there are any suggestions please let me know or if you would like me to post some code for you to reference...
Thanks in advance!