I've been looking at an easy and fast way (not expensive) to get the current cart data on each page view.
It seems that most information about the cart is available in LocalStorage. You can see what's there by running this:
Does anyone know when this is available? And if it is safe to use and assume it will be there?