if cart has items
-
Hi guys.
This plugin is almost perfect but I need a bit of guidance if possible please.
I’ve put the shortcode for the cart in a popup and then have a button on my header that says VIEW CART – this works great when I have items in the cart, but I’d like to hide the button if there are no items in the cart.
Could you point me in the right direction for a bit of code that says…
if cart has items do this
else don’t do this.Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘if cart has items’ is closed to new replies.