Fixed bugs in the shoppingcart