{% assign metafield_1 = page.metafields.namespace_1.key_1 %}
{% assign metafield_2 = page.metafields.namespace_2.key_2 %}
{% for i in (0...xyz) %} // xyz is the total number of repeated instances of a group, for example 6
{% if metafield_1[i] != blank %}
{{metafield_1[i]}}
{% endif %}
{% if metafield_2[i] != blank %}
{{metafield_2[i]}}
{% endif %}
{% endfor %}
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article