Ok, please be merciful if i missed this. I have been looking for almost an hour now in this topic and the archived topic and still cannot find a solid answer...

I would like to be able to hide attributes that are not in stock. I have found "How can I show the amount of stock available next to each attribute on the product information page?" in the wiki but not how to just hide an attribute alltogether when it is out of stock.

I know i just must be missing it since it seems like a very common question. I seem to keep finding the question, but not the answer.

Any help would be greatly appreciated. :)
-CC