I'm working on AJAX cart for Magento.
I'm not interested in extensions, as this cart has to be author made, it's very custom.
Can you tell me what's the best way to acquire such info as grand item total in cart and number of items?
In fastest and most relevant way.
I can create external php file which will gather this info from user's session and then AJAX script which is gonna display it on header every time when user adds or deletes a product.
I can think of that's not the best solution.
Is there some API, or what's the best way to do this?
Thanks,
Adam