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 and 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
Well, if you're "repeating" it should be the same! 🙂
I think what look for is a "Builder"
it's also an "array" of items, but each item can be of different schema
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?
you can pass a closure to
->schema()
method on your repeater. in which u can dynamically display fields based on values selected previouslyOk, I will try
Hey Ayman, did you make it?
No, I used another way