Skip to content

Commit 8ea64bb

Browse files
committed
ACP2E-1754: Store level URL rewrites are removed after product import
1 parent 20ea9fe commit 8ea64bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,6 @@ private function canonicalUrlRewriteGenerate(array $products)
475475
$storeProduct->setStoreId($storeId);
476476
$storeProduct->setUrlKey($this->cachedValues[$productId][$storeId]);
477477
$reqPath = $this->productUrlPathGenerator->getUrlPathWithSuffix($storeProduct, $storeId);
478-
$targetPath = $this->productUrlPathGenerator->getCanonicalUrlPath($storeProduct);
479478
}
480479
}
481480
$urls[] = $this->urlRewriteFactory->create()

0 commit comments

Comments
 (0)