cart item quantity inventory work