-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Wrong URLs for "de" and "it" stores. #3359
Comments
@lukeromanowicz can you Please take a look at this one? |
@alinadivante thanks for reporting! Is this issue only occurring on develop branch? can you please check 1.10 as well please? |
Yes, I checked v1.10 at next.storefront and there is no problem there |
OK, @lukeromanowicz so I belive it might be related to the last fixes in the |
@lukeromanowicz can you please check it out? I've co-assigned @patzick here as well in case you won't find time for it |
It seems to be caused by The variable I solved it by using the import { removeStoreCodeFromRoute } from '@vue-storefront/core/lib/multistore'
…
export function processDynamicRoute (routeData: LocalizedRoute, fullPath: string, addToRoutes: boolean = true): LocalizedRoute[] {
fullPath = removeStoreCodeFromRoute(fullPath) as string
...
} Followup: |
…readcrumbs state so here it was called the second time It was caused because now `formatCategoryLink` -https://github.com/DivanteLtd/vue-storefront/blob/develop/core/modules/url/helpers/index.ts supports the multistore
@pkarw everything looks all right, but I noticed that for /de store there is a typo in the URL after clicking |
Hi @alinadivante thanks for checking this out. Where's the type in the;
I can't see it :/ |
/de/gear/gerat-3 :) |
Current behavior
Currently, we have wrong URLs for "de"/"it" stores.
Please, see how the links look like on the example
/de
:Expected behavior
For "de" store it should be →
/de/women/women-20
,for "it" →
/it/women/women-20
Steps to reproduce the issue
Repository
Can you handle fixing this bug by yourself?
Which Release Cycle state this refers to? Info for developer.
Pick one option.
develop
branch and create Pull Request2. Feature / Improvement
back todevelop
.release
branch and create Pull Request3. Stabilisation fix
back torelease
.hotfix
ormaster
branch and create Pull Request4. Hotfix
back tohotfix
.Environment details
Additional information
The text was updated successfully, but these errors were encountered: