If you uncheck this setting in the Attribute
tab on the product does that work to achieve what you are wanting to do?
Link to image: https://cld.wthms.co/Xottjt
This is how it should work:
As you can see, I have to have this special attribute visible, (I guess?) for user to be able to switch between two options at top.
Can I do variation from invisible attributes and make it a switch? And if so, please let me know how.
]]>I can also recommend the following places for more development-oriented questions: