I don’t see where you declare the makeProductInfo function, but anyway if it’s asynchronous you have to wait for it as well.