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 4f82be7 commit 64f340fCopy full SHA for 64f340f
app/code/Magento/CatalogUrlRewrite/Model/Storage/DynamicStorage.php
@@ -165,6 +165,7 @@ private function findProductRewriteByRequestPath(array $data): ?array
165
166
$productUrl = $this->getBaseName($requestPath);
167
$data[UrlRewrite::REQUEST_PATH] = [$productUrl];
168
+ $data[UrlRewrite::ENTITY_TYPE] = 'product';
169
170
$productFromDb = $this->connection->fetchRow($this->prepareSelect($data));
171
if ($productFromDb === false) {
0 commit comments