Client wants to display a conditional message on the category list.phtml page depending on whether or not the cart has ANYTHING in it
I've found a lot of posts about creating a custom module to be able to assess cart items etc. but surely there must just be a simple way of identifying whether the cart contains anything or not without the need for a whole module to do so.
I don't care if we're counting items, reporting totals, assessing whether a cart exists or however it's done I just need a 'cart_empty' true or false variable
Any ideas?
UPDATED: reading a little more on this, I think the issue may be because we have caching in place on the product list page for performance reasons
This being the case do I need to access the cart using AJAX in some way?