I have a woocommerce variable product with 2 sets of attributes. For simplicity's sake let's say it's a car.
2 attributes:
size : small|medium|large
colour: red|green|blue
Normally this would mean that I could select any car size in any colour.
However, the small and medium cars actually only come in red, green or blue,
BUT the large car comes in only gold or silver.
What I want to be able to have happen is:
if the user selects small or medium size, the red|green|blue options appear in the colour dropdown,
but if they select the large car, only gold & silver appear.
I have absolutely no idea where to start with this.