change function getItemPriceByBarcode to a function getItemByBarcode