simpleCart(js)

items
Items:
Total:

.Item.remove

Remove item from the cart:

var myItem = simpleCart.add({ name: "Cool Thing" , price: 4, quantity: 1 });

simpleCart.quantity(); // 1

myItem.remove();

simpleCart.quantity(); // 0

Comments

  1. There are no comments for this entry yet.
Commenting is not available in this channel entry.