Total Posts: 3
I’m trying to print all possible values for a certain attribute. For my configurable products, I want to detail looks like a table - two attributes for that product will be rows and cols and every variation of that product will be items of that table. But I still can’t find out, how to print all possible values for that attribute. I can only print values, which are set for assigned simple products.
I have got attribute “length”, with values 1, 2 and 3, and attribute width with values 55,66 and 77.
Now I create some products, for example:
- l=1, w=55
- l=2, w=55
- l=2, w=66
- l=2, w=77
And now on the front-end is easy to print values for width, because all are used (code taken from method Mage_Catalog_Block_Product_View_Type_Configurable::getJsonConfig()), but for length I am able to print only values 1 and 2 .-/
Can anyone please help me? I hope I’m not so far from it, but still can’t figure that out..