enter image description hereref:mages not displaying in cart or mini cart

I have created one custom attribute imageurl to import product image url. Product images are loading from external url. Images displaying in product list and product detailed page. But simple products are not displaying in cart and mini cart page.. What can be the issue?

  • Do you use https in cart? Commented Jul 1, 2016 at 6:15
  • sorry... I didnt get you..
    – Sruthi
    Commented Jul 1, 2016 at 6:24

1 Answer 1


Edit /app/design/frontend/PACKAGE/THEME/template/checkout/cart/item/default.phtml and use below code to get an ImageUrl :

<img src="<?php echo Mage::getModel("catalog/product")->load($_item->getProduct()->getId())->getImageurl(); ?>" />
  • no .. its not working... configurable product images are displaying but not simple product images
    – Sruthi
    Commented Jul 1, 2016 at 6:25
  • Are you sure, this simple product has imageurl attribute set ? Commented Jul 1, 2016 at 6:29
  • This is just a logic that you need to place in appropriate template. Just check/debug for simple product cart template (Can use Path hints), and place above code. Commented Jul 1, 2016 at 6:32

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.