Included the validation that the quantity must be greater than zero (Thanks jeneriz for that...)