stores cart and displays items in cart.