Dynamic Repeater

I need to implement product variants as in this video https://www.youtube.com/watch?v=njdHCpildhE Is it possible with Repeater? I did not find any helpful information in repeater page documentation on how to create dynamic repeater with different default value for each repeater form field. I tried to override some methods on Repeater, but It does not work. Also I used
default()
default()
and
childComponents
childComponents
and nothing worked with me.
Tutorials by Manizha & Ryan
YouTube
How To Add Variants In Shopify 2023 (UPDATED WAY)
How To Add Variants In Shopify 2023 (UPDATED WAY) In this video I show you how you can add variants in Shopify. This is super easy to do and only takes just a few minutes of your time. If this tutorial helped you out please like & commenting down below if this works! Subscribe for more daily videos! See you in the next video! Thank you ! con...
9 Replies
Patricio
Patricio14mo ago
Well, if you're "repeating" it should be the same! 🙂 I think what look for is a "Builder"
Patricio
Patricio14mo ago
No description
Patricio
Patricio14mo ago
it's also an "array" of items, but each item can be of different schema
Ayman Alhattami
Ayman AlhattamiOP14mo ago
I read the documentation of both repeater and builder fields, and I did not find any way to generate the builder blocks fields based select field when the state changed Is there a way to generate the builder blocks fields based on state changes?
ZedoX
ZedoX14mo ago
you can pass a closure to ->schema() method on your repeater. in which u can dynamically display fields based on values selected previously
Ayman Alhattami
Ayman AlhattamiOP14mo ago
Ok, I will try
Dwayne
Dwayne11mo ago
Hey Ayman, did you make it?
Ayman Alhattami
Ayman AlhattamiOP10mo ago
No, I used another way

Did you find this page helpful?