Silverstripe 3 custom forms

Silverstripe 3.latest:

Question:

How can I loop through the ProductStyles to get the form fields for $FormName-Quantity[0], etc.

I’m not sure if I’m being clear enough, hopefully someone can understand my ramblings.

Something like:

[quantity[0]], dropdown[size[0]], diabledField[Product[0]]
[quantity[1]], dropdown[size[1]], diabledField[Product[1]]
[quantity[2]], dropdown[size[2]], diabledField[Product[2]]

Something like this.

https://pastebin.com/ShzW8XuL

Much appreciated.