In grouped.phtml
, i'd like to show all simple products image (not only thumbnail, small, basic images but also other images)
So my coded looks like
<?php $collection = $this->getProduct()->getMediaGalleryImages();
foreach ($collection as $_image): ?>
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $_image->getFile())->resize(300); ?>" width="300" height="300" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" />
<?php endforeach;?>
But these images show "group product images" not "associated products images".
Please help me.