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()
1641
1641
$ rowScope = $ this ->getRowScope ($ rowData );
1642
1642
1643
1643
$ urlKey = $ this ->getUrlKey ($ rowData );
1644
- if (!empty ($ rowData [self ::URL_KEY ])) {
1644
+ if (!empty ($ rowData [self ::URL_KEY ])) {
1645
1645
// If url_key column and its value were in the CSV file
1646
1646
$ rowData [self ::URL_KEY ] = $ urlKey ;
1647
- } else if ($ this ->isNeedToChangeUrlKey ($ rowData )) {
1647
+ } else if ($ this ->isNeedToChangeUrlKey ($ rowData )) {
1648
1648
// If url_key column was empty or even not declared in the CSV file but by the rules it is need to
1649
1649
// be setteed. In case when url_key is generating from name column we have to ensure that the bunch
1650
1650
// of products will pass for the event with url_key column.
@@ -2900,7 +2900,6 @@ protected function getResource()
2900
2900
2901
2901
/**
2902
2902
* Whether a url key is needed to be change.
2903
- * Returns false if
2904
2903
*
2905
2904
* @param array $rowData
2906
2905
* @return bool
You can’t perform that action at this time.
0 commit comments