Lets say I load my product object:
$product = Mage::getModel(\'catalog/product\')->load($productId);
Is there a function or some way to
Try this-
$collection = $product->getTypeInstance(true) ->getSelectionsCollection( $product->getTypeInstance(true) ->getOptionsIds($product), $product); foreach ($collection as $item) { # $item->product_id has the product id. }