How can I get a collection of all products from a specific type example given: "configurable" ?

I want to show the name of all products of type configurable for example.

$products = Mage::getModel('catalog/product')->getCollection()

foreach ($products as $product) {
    echo $product->getName() . "</br>"; 
  • Thank you very much! – Black Mar 21 at 15:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.