我有一个数组,例如:
Array
(
[2] => Array
(
[3] => Yes
[4] => No
)
[4] => Array
(
[28] => Maroon
[29] => Red
[30] => Dark Blue
[31] => Grey
[32] => Pastel Blue
[33] => Yellow
[34] => Green
)
[7] => Array
(
[265] => Var 1
[266] => Var 2
[267] => Var 3
[268] => Var 4
)
[87] => Array
(
[1888] => 1800h x 450w x 450d (1845N)
)
)
我想获得产品选项数组的所有独特变体,例如
Array
(
[2] => 3
[4] => 28
[7] => 265
[87] => 1888
)
Array
(
[2] => 3
[4] => 29
[7] => 265
[87] => 1888
)
等等。我已经添加了我需要添加的所有细节,但显然我需要添加更多细节。