change default variant selector

58 2 1

I am trying to implement a swatch into my theme and in order to get it to work I need to be able to change the default selector, however, I don't know how to do that.


At the moment when the swatch is enabled, it hides the default selector but when you choose a variant is says the product is unavailable and in order to fix this I need the default selector to change when the swatch variant changes.


I am using the Brooklyn theme so if anyone knows how to do this that would be great.