File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/code/Magento/CatalogImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1641,10 +1641,10 @@ protected function _saveProducts()
16411641 $ rowScope = $ this ->getRowScope ($ rowData );
16421642
16431643 $ urlKey = $ this ->getUrlKey ($ rowData );
1644- if (!empty ($ rowData [self ::URL_KEY ])) {
1644+ if (!empty ($ rowData [self ::URL_KEY ])) {
16451645 // If url_key column and its value were in the CSV file
16461646 $ rowData [self ::URL_KEY ] = $ urlKey ;
1647- } else if ($ this ->isNeedToChangeUrlKey ($ rowData )) {
1647+ } else if ($ this ->isNeedToChangeUrlKey ($ rowData )) {
16481648 // If url_key column was empty or even not declared in the CSV file but by the rules it is need to
16491649 // be setteed. In case when url_key is generating from name column we have to ensure that the bunch
16501650 // of products will pass for the event with url_key column.
@@ -2900,7 +2900,6 @@ protected function getResource()
29002900
29012901 /**
29022902 * Whether a url key is needed to be change.
2903- * Returns false if
29042903 *
29052904 * @param array $rowData
29062905 * @return bool
You can’t perform that action at this time.
0 commit comments