The current scenario is as follows:
We have a custom product detail control that displays the product details. This control needs to display the product data differently depending on the type of product it is displaying, so this control loads a separate control that dictates this product type specific layout and behaviour. One of the key differences between products is the variants available, and how they are presented to the customer. For this example, say we have the following variations available for a product:
Attribute: Single Box, or Case of 10
Then for each attribute there are multiple size options.
For the product page for this type of product we need to display two columns, the first column will list the Singe Box options, the second column will show the Box of 10 options. We'll be using quantity boxes to allow the customer to select how many of each option they would like before adding their choices to the basket.
I know that at the moment the attributes are flat, and I suspect a hierarchical structure would make this easier (as a side question, when are hierarchical attributes expected to be released, I didn't see them in the road map the last time I looked?), so I guess the help I need here is to do the following:
//get all size options for the product, bind this to a repeater of some sort
//on databound of each size option
//check against each attribute (looking for Single Box for the first column, then Case of 10 for the second) and if there is one, display the quantity controls.
I have attached a jpg of the layout so you can understand this better.