How to get the attribute Array for Variant Articles?

Hi

How to get the attribute Array for Variant Articles (the array is always empty, at the article details Page).

I want to get attributes array of each child with all available attributes (also custom attributes).


 

If I understand you correctly, you want to get the attributes of the variant? So when you are on the blue product you want to also access the attributes of the red and green variant? This is not possible without a plugin.

The data in your screenshot are the attributes of the variant option.

This is what you want?

but in your screenshot you try to get this