I have a simple product collection and I want to get a collection of parent products from the child product collection.

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

How can I get the parent product collection from this child products collection?

  • Have you got simple product id? – Rakesh Jesadiya Nov 23 '16 at 5:15
  • I have a simple product collection, I want to get parent collection without cycle of simple products to obtain ID – Andres Rojas Orozco Nov 23 '16 at 5:20

Your Answer

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

Browse other questions tagged or ask your own question.