We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851ed5c commit 5f2dcd2Copy full SHA for 5f2dcd2
app/code/Magento/CatalogImportExport/Model/Import/Product.php
@@ -1726,7 +1726,9 @@ protected function _saveProducts()
1726
: Store::DEFAULT_STORE_ID;
1727
$imageHiddenStates = $this->getImagesHiddenStates($rowData);
1728
foreach (array_keys($imageHiddenStates) as $image) {
1729
- if (array_key_exists($image, $existingImages[$rowSku])) {
+ if (array_key_exists($rowSku, $existingImages)
1730
+ && array_key_exists($image, $existingImages[$rowSku])
1731
+ ) {
1732
$rowImages[self::COL_MEDIA_IMAGE][] = $image;
1733
$uploadedImages[$image] = $image;
1734
}
0 commit comments