Product page question -- is it possible to have qu...
# replo-help
k
Product page question -- is it possible to have quantity selector, followed by flavor selector that is dynamic to the quantity you selected? for example, you select the quantity 4 then you have to select 4 flavors, so you get 2 cherrys, 1 orange, and 1 apple how would you build this functionality into a pdp with replo?
p
Hi, Thank you for getting in touch with Replo support.
This is not possible to link quantity field linked like this. However, you can do something similar with the help of interactions and by creating multiple states to show / hide selectors. But this would be a lot of interaction and states to play with and might not work as expected.
n
I think the state you’ll want here is “product quantity =” - you can have containers which are only shown for specific quantity values by setting the containers to be hidden or shown in the state!
Kind of like tabs, except instead of clicking to show, the containers will show depending on what quantity is selected
Pairs nicely with the “set product quantity” action
i
Just throwing this in - this is possible with states (as mentioned above!) or with tabs (like done here). It’s a little complex because either way requires workarounds, but I’ve set this up a few times if you need any help 😊