validation for cart quantity