File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
app/code/Magento/CatalogImportExport/Model/Import/Product Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1236,11 +1236,10 @@ protected function _importData()
1236
1236
$ multiRowData = $ this ->_getMultiRowFormat ($ rowData );
1237
1237
if (!empty ($ rowData [self ::COLUMN_SKU ]) && isset ($ this ->_productsSkuToId [$ rowData [self ::COLUMN_SKU ]])) {
1238
1238
$ this ->_rowProductId = $ this ->_productsSkuToId [$ rowData [self ::COLUMN_SKU ]];
1239
- if (
1240
- array_key_exists ('custom_options ' , $ rowData )
1239
+ if (array_key_exists ('custom_options ' , $ rowData )
1241
1240
&& (
1242
- trim ($ rowData ['custom_options ' ]) === ''
1243
- || trim ($ rowData ['custom_options ' ]) === $ this ->_productEntity ->getEmptyAttributeValueConstant ()
1241
+ trim ($ rowData ['custom_options ' ]) === '' ||
1242
+ trim ($ rowData ['custom_options ' ]) === $ this ->_productEntity ->getEmptyAttributeValueConstant ()
1244
1243
)
1245
1244
) {
1246
1245
$ optionsToRemove [] = $ this ->_rowProductId ;
You can’t perform that action at this time.
0 commit comments