Options array order

Highlighted
Tourist
6 1 0
hi all
does the order of these keys : option1,option2, option3 match with the order of product options array?

e.g Find the name of the option "option2" of this variant.

Will i find the name of option2 of a variant by looking on its parent product options[1] name? Or i cant rely on that and and look at position value?

In other words does the options array on a product structure has the same order as the option1 option2 option3 ?

Is the option1 value for the options[0] option?
0 Likes