woocommerce offtopic – Select Child Attributes Based on Parent
I have a variable product with three attribute options:
- Product Type (3 total options)
- Product Color (1 or 2 colors per Product Type, 5 total)
- Product Engine (Normal or Pro)
The variable product’s images does not appear until the users chooses a Product Type, and then Product Color because each variation has a unique image.
Here is a demo video I made to make the problem easier to understand:
What is the best way to always force the first enabled option for Product Color to be selected when each Product Type is chosen?
I think the solution may be similar to this questions:
Remove “Choose An Option” on Product Variation & Auto Select Instead
(P.S. – It is not clear if this is the correct place to post such a question, it’s confusing as my first post was rejected.)