I have an multidimensional array like this, but it's an dynamic array and value may change. Frist array index also may change for different products. Here 'color', 'size' are product attributes.
But I want different array for different attributes,
one is.....
another is....
I think, I have explained what I wanna get .Please help me out from this problem

