We need to solve the following problem. When choosing options for a variable product Woo, if it is impossible to use other options together with the selected one, they are hidden.
For example, there is a product that has 2 sizes.
1st: Length 10 and width 20.
2nd: Length 20 and width 40.
The buyer sequentially selects options. First, he chooses a length of -10. In the second field, he will only see 20. The width of 40 will be hidden. Conversely, if you initially select the width, one of the lengths will be hidden.
I want that when one of the parameters is selected, the options that are not suitable for this parameter are not hidden, but become a pale gray color. The selection should be inaccessible as before, but they should be visible. It must be implemented as a plugin in which the choice of the color of inactive options will be available.