i want to use variant selector as radio button on debut theme

AvidBrio
Shopify Expert
144 7 12

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 

If you find our comment helpful, hit the like button and accept it as a solution.
Want us to implement custom changes in your store? Contact us
Email me directly - jim@avidbrio.com
0 Likes
Jayvin
Shopify Partner
162 24 34

Hi,

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.

 

0 Likes
AvidBrio
Shopify Expert
144 7 12

@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 

If you find our comment helpful, hit the like button and accept it as a solution.
Want us to implement custom changes in your store? Contact us
Email me directly - jim@avidbrio.com
0 Likes