Updated cartType to remove cartItems with quantity <= 0