No content to show
User Activity
Nice! It's so similar! Although because mine is iterating over the split, then iterating over the pages it should keep the metafield list order at the cost of exponentially more loops. It is pretty inefficient but in the grand scheme of optimisation ...
I've come up with a convoluted method to iterate over the items by spliting the returned GID JSON string into an array and iterating over the global pages object: {% assign gids = product.metafields.custom_fields.pages | split: ',' %}
{% for gid ...
I also just ran into this issue with the "list.page_reference" metafield type. Good to know it's not just me although I haven't found a solution as of yet.