I have a swatch and a dropdown. I tried the code under "For Product with Dropdown and other super attribute is a swatch" but it only works for whichever (swatch or dropdown) comes first. I created two different products -
1. Swatch first and the dropdown second
2. Dropdown first and the swatch second.
In no. 1, the first option from the swatch is selected but the dropdown isn't.
In no. 2, the first option from the dropdown (after "Choose a Option...") is selected but the swatch isn't.