I have the following code:
$_productCollection = $this->getLoadedProductCollection(); foreach ($_productCollection as $_product) { if ($_product->_d
Here is the code for getting only configurable products:
$Config_products = Mage::getModel('catalog/product')->getCollection() ->addAttributeToFilter('type_id','configurable');