Is there a global way to check in any .tpl file without making modifications to the controllers and views to see if the basket is empty. This does not always work:
$cartItems = $this->cart->countProducts();
if ($cartItems < 0) {
print "Your cart is empty"
}
It appears that it works when logged in and sometimes as a guest?