Validation works upon adding candy to cart