0

I have created one attribute called imageurl for importing product image url. Product images displaying all the pages except minicart and wishlist page. For displaying product image in wishlist page I made some changes in
wishlist/item/column/image.phtml file.

But its not working.

<img src="<?php echo $_product->getData('imageurl') ?>" />

0

Edit /app/design/frontend/PACKAGE/THEME/template/wishlist/item/column/image.phtml and use below code to get an ImageUrl :

<img src="<?php echo Mage::getModel("catalog/product")->load($product->getId())->getImageurl(); ?>" />
  • thank you... now its working... <img src="<?php echo Mage::getModel("catalog/product")->load($product->getId())->getData(imageurl'); ?>" /> – Sruthi Jul 12 '16 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.