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 b331f00 commit 643c93eCopy full SHA for 643c93e
Model/Product/Url.php
@@ -62,7 +62,7 @@ public function getUrl(Product $product, $params = [])
62
$routeParams['_scope'] = $urlDataObject->getStoreId();
63
} else {
64
$requestPath = $product->getRequestPath();
65
- if ($requestPath === '') {
+ if (empty($requestPath) && $requestPath !== false) {
66
$filterData = [
67
UrlRewrite::ENTITY_ID => $product->getId(),
68
UrlRewrite::ENTITY_TYPE => ProductUrlRewriteGenerator::ENTITY_TYPE,
0 commit comments