Added quantity for items in cart and error logging for invalid carts