How to get full product image url in Magento

后端 未结 4 1678
攒了一身酷
攒了一身酷 2021-02-08 19:01

How to get full product image url in magento ,i need to migrate the data from magento to django so i need to get the product full imag

4条回答
  •  逝去的感伤
    2021-02-08 19:31

    Try this

    $product = Mage::getModel('catalog/product')->load($product_id);
    $full_path_url = Mage::helper('catalog/image')->init($product, 'thumbnail');
    

提交回复
热议问题