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') ?>" />

1 Answer 1

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(); ?>" />
1
  • thank you... now its working... <img src="<?php echo Mage::getModel("catalog/product")->load($product->getId())->getData(imageurl'); ?>" />
    – Sruthi
    Commented Jul 12, 2016 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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