<?php $conf = Mage::getModel('catalog/product_type_configurable')->setProduct($product); $col = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions(); foreach($col as $simple_product) { var_dump($simple_product->getId()); }
// Note: input is $product and result is iterating child products
?>