First of all, this contribution is great. There is just one more thing I wish I code for it, and I was wondering if anyone could help.
Ok...I will be selling t-shirts, so I will use the sizes as an example for my slave products here. I would like it if when a slave products quantity reached 0, it would still be listed, but you just would not be able to add it to your cart. This is what my slave set up looks like in the product info page to begin with:
Model-------------------------Buy now
Small-----------------------------[0]
Medium --------------------------[0]
Large-----------------------------[0]
----------------------------Add to Cart
Ok, now say I ran out of medium shirts, I'd like something like this to show up (I use the model type for the size, so when I say medium within the example, it's just the model.
Model-------------------------Buy now
Small-----------------------------[0]
Sorry, we're all out of Medium!
Large-----------------------------[0]
----------------------------Add to Cart
If anyone could help me with that, I would be so grateful.