Webkul
Services
Technologies Bagisto QloApps
iOS Android SAP BigCommerce Wix
Trusted by
Samsung Intel Toyota Walmart Disney Nokia Nestlé Decathlon
See all customers
Back to Top
DOC

Magento CSV upload mass product with multiple images

in this file app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php add following code

$galleryData = explode(';',$importData["gallery"]);
foreach($galleryData as $gallery_img) {
try {
  $product->addImageToMediaGallery(Mage::getBaseDir('media') . DS . 'import' . $gallery_img, null, false, false);
} 
catch (Exception $e) {}
}

Add gallery column in csv file enter “image file name” with ‘;’ separate  and copy images in import folder then upload the CSV and run profiler

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home