M1有什么办法导出产品图片集吗?而不是单单一张首图。
https://stackoverflow.com/questions/30659745/how-to-get-full-gallery-image-url-path-using-magento
<code>$categories = Mage::helper('catalog/category')->getStoreCategories(); foreach($categories as $category) { $categoryId = $category->getId(); $product_collection = Mage::getModel('catalog/category')->load($categoryId)->getProductCollection(); foreach($product_collection as $product) { $product_id = $product->getId(); $full_product = Mage::getModel('catalog/product')->load($product_id); $product_sku = $full_product->getSku(); $product_name = $full_product->getName(); $product_url = $full_product->getProductUrl(); $product_image_url = $full_product->getImageUrl(); $product_image_url_gallery = $full_product->getMediaGalleryImages(); echo "Product SKU:".$product_sku; echo "<br/>"; echo "product name:".$product_name; echo "<br/>"; echo "product image url:".$product_image_url; echo "<br/>"; foreach ($product_image_url_gallery as $image) { echo Mage::helper('catalog/image')->init($full_product, 'image', $image->getFile()).'<br>'; } echo "-------------------------------------------------------"; echo "<br/>"; } } </code>