I have the total number of products displayed in the website header. So the user can see how many products he has in his cart. But when the cart is empty and the value is 0, I would like to hide it and I don’t know how.
How I display the value in the header :
<div class="total-cart snipcart-summary"> <span class="snipcart-items-count"></span> </div>
Thanks for your help !