an accordion for swatch groups
WooCommerce Attribute Swatches does what it does beautifully, but not to the degree I needed it to in order to handle the large number of grouped color options I need to provide for the product.
In a nutshell: I have 100 colors to choose from, in 10 color categories of 10 each. I can't show 100 swatches on the product page so wanted to show the color categories. When a color category is selected, then only the 10 color swatches in that category are shown. If another color category is selected, then the display hides the previous set, and then displays the new sub set of colors.