Hey people, thanks for all this great work… It’s almost working for me too.
I try to add an extra product-attribute value (color range) to each variation (fabric in several colors) to filter them by colour-groups vi the “Product filters”-plugin.
The code described by Shaun + allows to display and select the attribute checkboxes in each variation. When I click “save changes” it keeps them at first, but if I update the product-page I lose the values.
Seems the script by rchipka from March 17, 2018 doesn’t save the single values properly in my case. I also added it in the functions.php of my child-theme. Is this correct? Can anyone please help finding how to save the values properly? Thanks!