I'm looking for get the simple products associated to a configurable one. I'm currently using this :
Where $product is a configurable.
But it return me simple products that have quantity > 0. Is there a method to also get the 'out of stock' products from a configurable ?