I have a question regarding the integration of metaobjects with theme blocks, particularly in the context of looping through metaobject entries in a structured layout on a product page.
Scenario:
- I’m working on a product page that uses a column block, and inside it, there are nested column blocks.
- Each column block has settings like image, title, and description.
- I want to dynamically populate these nested blocks with data from a metaobject, such as a list of features or specifications tied to a product.
- I have already written custom code to loop through metaobject entries under one of the nested blocks, but this is not editable from the Theme Customizer.
Issue:
- I’m not seeing an option in the theme editor (Customizer) to connect a block group to a metaobject list in a dynamic way, like we can with other single fields using the “connect dynamic source” button.
- It seems Shopify only supports connecting single fields from a metaobject into a block/section—not looping over multiple entries to dynamically render repeated blocks.
- I want to avoid hardcoding the loop in Liquid so that clients can control the content from the Customizer, using dynamic sources or references.
Questions:
- Is it currently possible to loop through a metaobject list (like a repeater) and dynamically bind each item to a nested block inside a theme blocks?
- If not supported directly, is there any recommended workaround or upcoming support for looping metaobject data through the theme editor UI?
Have you worked with a setup like this, or is there any documentation or example you can share?