Assign a barcode to a product