diff --git a/Model/Import/Product.php b/Model/Import/Product.php index ff83961..89a8104 100755 --- a/Model/Import/Product.php +++ b/Model/Import/Product.php @@ -525,7 +525,7 @@ protected function saveProducts() if ($column == self::COL_MEDIA_IMAGE) { $rowData[$column][] = $uploadedFile; } - $mediaGallery[$rowSku][] = [ + $mediaGallery[0][$rowSku][] = [ 'attribute_id' => $this->getMediaGalleryAttributeId(), 'label' => isset($rowLabels[$column][$position]) ? $rowLabels[$column][$position] : '', 'position' => $position + 1, @@ -1185,4 +1185,4 @@ private function getProductEntityLinkField() } return $this->productEntityLinkField; } -} \ No newline at end of file +}