I cant seem to figure out how to add product images to the order details page (/sales/order/view/order_id/[order id]). I dont completely understand how to change what information is coming back in the Mage_Sales_Model_Order_Item class.
I tried changing the Mage_Sales_Block_Order_Item_Renderer_Default class by adding the following function.
public function prodImage()
return Mage::getModel('catalog/product')->loadByAttribute('sku', $this->getItem()->getSku())->getImageUrl();
It seems as though I am able to get the product, but the image attributes are all wrong. I end up with /skin/frontend/default/default/images/no_image.jpg.
How do I change what information is available in the model?