added error if cart is empty