Here is my question has anyone developed a script that will automatically disable the attribute (such as Size 4) when the item is sold out?

So example: Size 2 (+4)
Size 4 (+2)
Size 6 (sold out) or remove the attribute all together
Size 8 (+2)


~Renee