Added quantity to cart and cart error handling