Tuesday, 5 January 2016

Magento: Get a configurable products associated simple product data

$conf = Mage::getModel('catalog/product_type_configurable')->setProduct($_product);
$simple_collection = $conf->getUsedProductCollection()->addAttributeToSelect('*')->addFilterByRequiredOptions();

No comments:

Post a Comment