Hi, I often get asked to trigger some sort of chan...
# replo-help
w
Hi, I often get asked to trigger some sort of changes/logic based on specific selected product variant, like show/hide some element based which variant is selected, or have text change on some element, etc. I can't really find a way to do this with replo interactions, so I usually default to using some JS, which doesn't work great either (attaching click EventListeners is wonky because of how the variant buttons re-render on the initial UI load). This used to be somewhat easier before when replo would allow setting a Dataset Attribute with the value of currently active variant, looks like that feature is gone now. I'm wondering if I'm missing something and there's an easier way to trigger changes based on specific selected variant? Any help on this would be very appreciated.
t
This post is now synced! Check it out here: Seeking Help: Trigger Changes Based on Selected Product Variant ⤵️ Any future comments will be automatically posted to the thread
Community Guidelines ▶︎ Related Discussions 1. Discussion 1 <!date^1729887507^({ago})>
c
This doc should help!
w
Okay, I did not know about this. Thanks!
🙌 1
m
@Waldo We can connect and collaborate. I would love to work with you on your project. Can you shoot me a DM?