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.
2 parents ec086d9 + f9d415e commit 2d776b1Copy full SHA for 2d776b1
app/code/Magento/UrlRewrite/Block/Plugin/Store/Switcher/SetRedirectUrl.php
@@ -64,7 +64,7 @@ public function beforeGetTargetStorePostData(
64
]);
65
if ($urlRewrite) {
66
$data[ActionInterface::PARAM_NAME_URL_ENCODED] = $this->urlHelper->getEncodedUrl(
67
- $this->trimSlashInPath($this->urlBuilder->getUrl($urlRewrite->getRequestPath()))
+ $this->trimSlashInPath($this->urlBuilder->getUrl($urlRewrite->getRequestPath(), ['_scope' => $store]))
68
);
69
}
70
return [$store, $data];
0 commit comments