Loop over deeply nested meta box clonable field inside query

Hi guys,

I’m trying to loop over a clonable meta box field that is inside a couple of groups.

For example:
Main category → Subcategory → menu item (food) → prices (clonable)

Of course the groups are easy, they are supported, but I don’t really know how to loop over the nested clonable field.

Any thought or examples how to do that?

I don’t think this is completly possible inside the builder. I would guess you would need to use some of the bricks filters.

These filters are extremle powerful, and should get the job done, but honestly I can’t say how without doing it myself.

But i would probably try to create my own query-type and write some dynamic-data-tags that output these custom fields.

Create your own query-type and it’s logic:

But you need to be able to select it within the builder, so you setup a control for it:

Create dynamic data-tag for within your custom-query:

Hope this nudges you in the right direction
Cheers