working on #1571: product barcode is now assigned properly
reworded error messages