From ebc946a7672a3160d1fd0fd79fbb9a518b286a3c Mon Sep 17 00:00:00 2001 From: Oleh Posyniak Date: Tue, 13 Sep 2016 15:38:45 +0300 Subject: [PATCH] MAGETWO-58289: [Github] Product URL Key not automatically generating during import #5128 --- app/code/Magento/CatalogImportExport/Model/Import/Product.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/code/Magento/CatalogImportExport/Model/Import/Product.php b/app/code/Magento/CatalogImportExport/Model/Import/Product.php index 21c12bf0a8b1a..6df82623b1dd5 100644 --- a/app/code/Magento/CatalogImportExport/Model/Import/Product.php +++ b/app/code/Magento/CatalogImportExport/Model/Import/Product.php @@ -1473,6 +1473,10 @@ protected function _saveProducts() } $rowScope = $this->getRowScope($rowData); + if (empty($rowData[self::URL_KEY])) { + $rowData[self::URL_KEY] = $this->getUrlKey($rowData); + } + $rowSku = $rowData[self::COL_SKU]; if (null === $rowSku) {