evoShop.empty()

This function removes all items from the cart.

evoShop.add({ name: "Shirt" , price: 5 , quantity: 1 });

evoShop.quantity(); // returns 1

evoShop.empty();

evoShop.quantity(); // returns 0