i have magento 1.6.2.
Now i would like to show the thumbnails in the sales/order screen. After some googleing i have found some work arounds ...
I have added the next code to the app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml
<?php $product = Mage::getModel('catalog/product')
->setStoreId($_item->getOrder()->getStoreId())
->load($_item->getProductId());
?>
<p align="center"><img src="<?php echo Mage::helper('catalog/image')->init($product, 'small_image')->resize(135); ?>" width="135" height="135" alt="" /></p>
This works fine for simple products. For the simple products generated by the configurable products i get the placeholder "no image"
For the record: when i make a configurable product, my extension doesn't give the simple products a image. Only the base (parent) configurable product.
Now i need to call the image from the configurable product, in stead of the simpleproduct. Who can help me?