$collection = Mage::getResourceModel('catalog/product_collection')
->addAttributeToSelect('*')
->addAttributeToFilter('type_id','configurable');
foreach ($collection as $product)
{
echo $product->getName();
}
->addAttributeToSelect('*')
->addAttributeToFilter('type_id','configurable');
foreach ($collection as $product)
{
echo $product->getName();
}
No comments:
Post a Comment