Adding basic functionality to shopping cart