-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add store id to retrieve localized content from category repository #22212
Conversation
This commit solves an issue with the anchor category url generation. To generate the anchor category url, data is retrieved by category repository without specifying proper store id. Doing so, the generated url does not use the localized category name into request path.
Hi @mirkocesaro. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @phoenix128, thank you for the review. |
@mirkocesaro thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository. |
Thanks for the PR @mirkocesaro But we already have two competing PR's with the exact same changes:
@phoenix128, we should probably close this PR as a duplicate, right? |
Hi @mirkocesaro , thanks for the pull request! However, I have to close it as it's a duplicate to #20826 |
Hi @mirkocesaro, thank you for your contribution! |
Description
This commit solves an issue with the anchor category url generation.
To generate the anchor category url, data is retrieved by category repository without specifying proper store id. Doing so, the generated url does not use the localized category name into request path.
Manual testing scenarios
Expected result:
In the url_rewrite table we exepct to find the following rows:
Actual result:
as we can see the request_path value for the second row (store_id 2) is not as expected
Contribution checklist