With Strapi, it’s possible to get some level of relationship populated using the “populate-deep” plugin.
I believe it’s not used for current DH’s strapi plugin. Can you add this ?
Probably need a new parameter in plugin’s configuration (use strapi populate deep plugin Yes/No)
Then collections will be able to use “xxxx?populate=deep”
Let me know once you can make Strapi online so we can implement this logic and test it out together.
@dejan : Online now.
Collection to test “Produit”
I’ve added as input for now.
My use case is that I’m configuring a ProductDetail page (where deep should be used) configured as below
Hmm, that’s not possible to configure on single pages at the moment.
Maybe for single pages we can always automatically force deep populate?
yes, it make sense that you need detailed info there. The default deep limit of 5 is probably good for most use cases
Can you test it if works?
For single pages, you are accessing the > page > data variable? Is there everything you need?
I had to unpin all pages in order to test this.
Seems like it’s working?
the “contenu” is string? So you can’t iterate that?
Does it needs to be something else?
Should work now
I can see the “images” to define the iterable. But then, when trying to define the image URL, the iterable I see at the image level is not this one :
The iterable for images in each onglet
The iterable for the swiper image :
When you use multiple nested iterable, you need to change the key
Change from --key iterable to let’s say --key image
So then you will see both iterable and image variables.
Thanks @dejan : it works like a charm