Add validation to cart amount input