What is a Shopping Cart or Basket?

A shopping cart or basket stores a running total of the purchased items that have been added to the basket by clicking on a "buy" or "add to basket" button. Typically these details are stored in a "cookie" so that next time you visit the store, your shopping basket contents can be 'remembered'.