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 1107b63 commit ab58d42Copy full SHA for ab58d42
app/code/Magento/CatalogImportExport/Model/Import/Product.php
@@ -1414,7 +1414,9 @@ protected function _saveProducts()
1414
&& !in_array($rowData[$imageCol], $mediaGalleryImages)) {
1415
$mediaGalleryImages[] = $rowData[$imageCol];
1416
if (isset($mediaGalleryLabels)) {
1417
- $mediaGalleryLabels[] = isset($rowData[$imageCol . '_label']);
+ $mediaGalleryLabels[] = isset($rowData[$imageCol . '_label'])
1418
+ ? $rowData[$imageCol . '_label']
1419
+ : '';
1420
} else {
1421
$mediaGalleryLabels[] = '';
1422
}
0 commit comments