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 42bb373 commit 9735ea8Copy full SHA for 9735ea8
app/code/Magento/CatalogGraphQl/Model/Resolver/Product/CanonicalUrl.php
@@ -34,8 +34,8 @@ public function resolve(
34
35
/* @var $product Product */
36
$product = $value['model'];
37
- $url = $product->getUrlModel()->getUrl($product, ['_ignore_category' => true]);
+ $product->getUrlModel()->getUrl($product, ['_ignore_category' => true]);
38
39
- return $url;
+ return $product->getRequestPath();
40
}
41
0 commit comments