Magento: Get image by SKU


/ Published in: PHP
Save to your folder(s)

Stupid Magento is such a damned clusterskuf


Copy this code and paste it in your HTML
  1. echo Mage::getModel('catalog/product')->loadBySku($sku)->getImageUrl();

URL: http://www.magentocommerce.com/boards/m/viewthread/205810

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.