Skip to content

Commit a829df1

Browse files
author
Oleksandr Dubovyk
committed
MC-20112: [OnPrem] - Import CSV - Can't import empty value __EMPTY__VALUE__ at store view level
- fixed
1 parent 3fe8a17 commit a829df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogImportExport/Model/Import/Product/Type/AbstractType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ public function prepareAttributesWithDefaultValueForSave(array $rowData, $withDe
543543
} else {
544544
$resultAttrs[$attrCode] = $rowData[$attrCode];
545545
}
546-
} elseif (array_key_exists($attrCode, $rowData) && empty($rowData['_store'])) {
546+
} elseif (array_key_exists($attrCode, $rowData)) {
547547
$resultAttrs[$attrCode] = $rowData[$attrCode];
548548
} elseif ($withDefaultValue && null !== $attrParams['default_value'] && empty($rowData['_store'])) {
549549
$resultAttrs[$attrCode] = $attrParams['default_value'];

0 commit comments

Comments
 (0)