product->variants->attributes how to create fields for this

So what's the best way to handle this kind of seautiatuon....

Relation:
product has many varieties variants has many attributes


When creating product I want to create variant and thair attributes

I have no idea how to achieve this when creating product....

I can create variants in product edit page using relation manager but after that how can i add attributes in those variants!
Solution
no body helped me yet again I feel so small

btw if anyone interested the solution was
I need to add repeater inside repeater define the relationship and everything just worked.
Was this page helpful?