Did you ever find a solution for this, using this contribution or another one?
I as well run a shop where I know the same item sells very good under one attribute, and not so well with another (IE: color or size).
I am looking for a way to breakdown what has sold by attributes to give me an idea of what kind of stock to keep on hand so of course, I have what I need and dont buy the stuff that doesnt sell as often. Looking forward to your response.
OJ