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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users