Missing Repeater Functionality on Theme Blocks

There’s a repeater functionality on section blocks that is not supported with the new theme blocks. Does anyone know if this is on the roadmap to be supported?

The existing repeater functionality allows an admin to populate a dynamic source at the block level and if that dynamic source is a list of metaobjects it will repeat the block for each metaobject in the list.

Block Dynamic Source Unpopulated

Block Dynamic Source Populated with a List of Metaobjects

2 Likes

hey @Matt_Power
When you say new theme blocks, do you mean blocks that are located in blocks folder and rendered as

 {% content_for 'blocks' %}

Is that what mean?

@Eugene_Kasimov that is what I’m referring to as theme blocks. The screen shots are an example of the functionality that exists for section based blocks and what I’d like to use with theme blocks.

Just bumping this, as I have the same issue. Might be me misunderstanding some data points though.

“FAQ: Collapsible tabs” uses theme blocks.
“Collapsible tabs” is a normal “old-school” section.

“FAQ: Collapsible tabs” and “Collapsible tabs” has the same settings, so do “FAQ Set” and “Question”.

“Question”-block can be repeated by metaobject entries (or whatever) but “FAQ Set” can’t.


Am I missing something, is this a bug or is it intentional? :eyes:

1 Like

Seems like it’s intentional, as it’s also not available in the reference theme.

@Eugene_Kasimov would be great if it was possible to repeat these blocks based off list data, like metaobject entries.

1 Like

bumping this up. Is this something planned down the road?

2 Likes

@Arthur_Demurger @mxstbr we’ve chatted a bit about it before, but would love to hear some updated thoughts.

I generally structure most content as metaobject entries, so having the auto repeater is something I rely on. Makes it kinda tough 100% migrating to theme blocks. Unless I’m missing a better way of handling this?

Just throwing another real world example in here, which is a store list.

Structure:

  • Metaobject entries; one for each store
  • Page has a metafield with type list.metaobject_reference containing relevant stores
  • Section block and “auto repeat” those references

)


Video showing practical example adding the repeating blocks in the theme editor


Example of generated json:

Other examples could be USPs and FAQs (product/market/region decided).

Also cc @Liam-Shopify, I cant find information in the docs regarding the repeater anymore :eyes:

3 Likes