I used this code to display a Thumbnail image :
<?php echo $this->getProductThumbnail()->resize(50, 50)?>
but i would like to display the small image. I used that to my sidebar cart
cartimagemagento-1.7
I used this code to display a Thumbnail image :
<?php echo $this->getProductThumbnail()->resize(50, 50)?>
but i would like to display the small image. I used that to my sidebar cart
Best Answer
You can use the catalog image helper to get any type of image.
If I'm correct
$_item->getProduct()
is an instance ofMage_Catalog_Model_Product
, if not you'll need to load the instance first per item