Magento Grouped Products | HowTo Get Associated Grouped Products

Thursday, 25. August 2011

If you are working with Magento Grouped Products and want to list all its associated products (links) here is a snippet script on how to do just that:

if ($_product->isGrouped()) {
  foreach ($_product->getGroupedLinkCollection() as $linkprod) {
    /**
    ......Your implementation here
    */    
    var_dump($linkprod->debug());
  }
}

Leave a Reply

You must be logged in to post a comment.