Hi John, thanks for your help. I have tried to implement your code, but it’s a bit difficult for me to understand it.
I have tried another approach though. Using the code on this link I have managed to store both the name and the price as a Json. Then all I have to do is decoding that and extract the elements of the array.
It may not be the best way of doing it, but it seems to work.