Seeking Help: Trigger Changes Based on Selected Product Variant
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.