adding the error condition and error messages for new product creation