+1 vote
150 views
asked in Magento by
How can we Get Configurable product's Child products with the code in Magento?

1 Answer

0 votes
answered by
This is how you can get the child products out of the configurable ones.

<?php
$allchildProducts = Mage::getModel('catalog/product_type_configurable')->getUsedProducts(null, $product);
?>
Please note the input is $product which is the configurable and the result is the list of child products.

Related questions

0 votes
0 answers 697 views
+1 vote
1 answer 668 views
+1 vote
1 answer 771 views
0 votes
2 answers 480 views
0 votes
1 answer 422 views
...