We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20ea9fe commit 8ea64bbCopy full SHA for 8ea64bb
app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php
@@ -475,7 +475,6 @@ private function canonicalUrlRewriteGenerate(array $products)
475
$storeProduct->setStoreId($storeId);
476
$storeProduct->setUrlKey($this->cachedValues[$productId][$storeId]);
477
$reqPath = $this->productUrlPathGenerator->getUrlPathWithSuffix($storeProduct, $storeId);
478
- $targetPath = $this->productUrlPathGenerator->getCanonicalUrlPath($storeProduct);
479
}
480
481
$urls[] = $this->urlRewriteFactory->create()
0 commit comments