Magento import multiple images in dataflow csv/xml
Sometimes it’s really annoying that Magento only supports one image per product. On the Magento Commerce forum a solution is found: Now, what you need to do is open the file app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php and go to around line 773 and find $addedFilesCorrespondence = $mediaGalleryBackendModel->addImagesWithDifferentMediaAttributes( $product, $arrayToMassAdd, Mage::getBaseDir(‘media’) . DS . ‘import’, false, false ); and paste the following code right after it if (isset($importData[‘media_gallery’]) && !empty($importData[‘media_gallery’])) { […]
Magento import multiple images in dataflow csv/xml Read More »