woocommerce offtopic – Variable Product – Force Selection of First Child Attribute

Question

I have a variable product with three options:

  1. Product Type (3 total)
  2. Product Color (1 or 2 colors per product)
  3. Product Engine (Normal or Pro)

PROBLEM:.

The variable product’s images does not appear until the users chooses a Product Type, and then Product Color. I need the first color for each product to be selected by default when the user chooses Product A, B or C.

PRODUCT A = Color A1 or A2
PRODUCT B = Color B1 or B2
PRODUCT C = COLOR C1

QUESTION:
What is the best way to force Color A1, B1 and C1 to be selected when each respective Product Type is chosen?

Here is a demo video I made to make the problem easier to understand:
https://www.dropbox.com/s/bz3kvr4cl7fwygq/force-attribute-selection.mp4?dl=0

0
Jono 2 weeks 2022-11-14T17:06:59-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse