I hope you can help me. I would like to display a div in a notification bar whenever there is an item (or items) in the Woocommerce cart but hide it if the cart is empty.
All I'm finding are ways to display a cart icon in the menu. But I don't want a cart icon, nor do I want it in the menu, and I definitely only want it to display if there's something in the cart.
I'm open to a CSS solution, script, or adding to function.php
Thank you for your assistance.