I know this has been discussed many times but I am having some issues with this. It was working at one point, then maybe I installed an extension and it stopped working, I really don’t know;
So I am using:
$tmp_curcart = Mage::getSingleton(’checkout/session’)->getQuote()->getSubtotal();
to get my subtotal. Now here are the issues I’m having.
It will display 0 until a second item has been added to the cart and once the second item has been added it will only display the price of that item. However, when I go to my cart it will update correctly....this is weird, also, if I remove all items from my cart, the subtotal will remain the value last of the last removed item(instead of 0) even though my cart is empty.
Any suggestions to get this thing current would be awesome, I’m getting grey hairs over it.
BTW Im running 188.8.131.52
Thanks in advance!