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
Be the first to comment.