I am trying to implement https://shopify.github.io/liquid-code-examples/example/product-variant-selector
product variant selector as a radio but it not working in the debut theme
only first variant added to cart but I selected other variant option
Whenever a particular radio button is clicked, you have to select the appropriate variant option in the original 'select', that's the big picture.
Themes already have scripts that already all these selection . You first need to look what the original scripts is doing and then hook up your own custom codes to work with it.
@Jayvin thanks for your valuable answer.
you can check your debut theme code with my code reference that was good for you what was working or not.
i know the selector not working for the radio button I already try some solution from community answer but that was not working. if you can provide the working code snippet that was great for the community