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 07c8f54 commit 2665d81Copy full SHA for 2665d81
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
- $product->getUrlModel()->getUrl($product, ['_ignore_category' => true]);
+ $url = $product->getUrlModel()->getUrl($product, ['_ignore_category' => true]);
38
39
- return $product->getRequestPath();
+ return $url;
40
}
41
0 commit comments