Smart cart empty cart display
I am currently having an issue with the smartcart plugin and im hoping someone has an answer for me.
If you look at the demo page:
you will notice that the shopping cart is empty by default (makes sense) however if you add then remove an item text shows up saying "
Your Cart is Empty!". How can I make that message display by default?
The JS code:
Im assuming its something to do with:
- }else{
- // Cart is empty
- $ol.html(options.emptyCartLabel);
- }
Somehow it doesn't detect that the cart is empty by default?
Thankyou for your help!