Hi Nigel How are you?
Definitely by including the famous Div, everything has returned to normal and the color change in the variations works correctly. For this part, all great.
But not all are good news. When making this change something else happens, which I have long wanted to report to Toolsets, but I didn't do it because I didn't know exactly why it happened.
I explain.
When you enter the Woocommerce Views settings and touch anything, the templates you have assigned to the products lose the assignment and they all go to the first template.
That is, for example, on this website I have several templates, depending on the type of product.
The first template is called 00 Original Woocommerce. I do it this way, because I generate a template similar to that of woocommerce but with some customization. This template is used by most products.
But there are other products that use another template. 01 Collection products. They are products that have another design for the type of product or its particularities.
There are some other templates.
The fact is that when marking the DIV and saving the changes, all the products become the first template and sometimes I have seen how suddenly, they have no template.
For example, yesterday the client after the change told me that all collection products were now seen as a normal woocommerce product. When I checked it, everyone was assigned the original 00 woocommerce template.
As you can imagine, this is a real problem because the customer has had to put each template one by one again on those specific products, but they are more than 100 products. Work hours.
I already knew this problem and I usually make a backup before the database, but yesterday I did not and it happened again.
It would be convenient for you to check if this happens to you too and find a solution, because I don't want to imagine what can happen if we talk about hundreds of products.
Sorry to always be the bearer of bad news !!!