checking quantity when adding multiple items with same barcode