How To Get Configurable Products collection in Magento.?

Get Configurable Products collection in Magento:
In Magento, Configurable products are the one that have multiple options from product collection respectively. The whole process allows to get bet control over the product inventory with multiple options from one place. In other words they are also termed as ‘Configurable Products are collection of Simple Products‘. These products often contain associated products which are then called child or simple products respectively.

Magento Get Configurable Products collection Syntax:

$productCollection = Mage::getResourceModel('catalog/product_collection')

foreach ($productCollection as $product) {
  $productname = $product->getName();

You can fetch the detail about the configurable product collection by using the above code.

Stay tuned for more Magento code tips from Tutorialmines !

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *