Hello. I am looking to extend my theme and create a dynamic list of resources for each of my products. I see that I can include a list of URLs or a list of Files via Metafields, but these are very limited because I can’t specify a name/title, and I think it’s also not possible to group multiple fields and make them repeatable.
As an example, ideally I would like to do something like this:
{% for resource in product.metafields.custom.resources.value -%}
Have you tried creating a list instead? You can achieve this similar function using single-text and list. I believe we can create a JSON object but that would be writing each code
Hello @made4Uo , thanks for you reply! Unfortunately I don’t think this would solve my scenario. What I want is a repeatable Link object that I can loop through. So essentially the end result would be something like:
However. You have given me a good idea. I suppose I can create a single text list and add separators in between the values so that I can then evaluate and split them into the different link parts.