-
Notifications
You must be signed in to change notification settings - Fork 49
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
[BUG] Category breadcrumbs path is missing #139
Comments
Thx for submitting this already known issue (NEXT-24954). We have an discussion with the product area that is responsible to return the path via API. Also good to have this issue here to do not forget it. Will ping you when I have news about this. Possible solutions: In this file: Otherwise we could change |
@patzick could we use the same technic we used for "duplicated" seoURL''s calls to solve this issue? Like looking in the list if we have this seoURL already and then adding the link instead of waiting for the changed response? Just an idea. |
@StanislovasRamanauskas here is an example of how to solve this in frontends (but this is just a workaround): And I do not know if we will merge this into the demo-store. |
For reference: NEXT-24954 |
@BrocksiNet Is there any news update about this issue 😄. |
I am preparing the MR to get the new Endpoints into the Core of Shopware. After that, we can update the composables and have a proper solution. 🙌 But I need to find out which version it will be released. |
The changes are already in the trunk so we can start with the frontend part. This is not blocked anymore. |
@BrocksiNet Do you have any news when this feature will be rolled out on Shopware Core? Since I've built a shop with 0.X versions of the frontend, I'll probably not refactor everything, but the API should still be accessible with fetch or similar tools if everything else fails. |
Is there an existing issue for this?
Current Behavior
Currently useBreadcrumbs() composable only returns names array for category breadcrumbs. Paths are missing so link to category cannot be created.
E.G.
Helper function to get breadcrumbs getCategoryBreadcrumbs() also gather only names:
Breadcrumbs in product.seoCategory / category API response also contain only names. So I think this is issue both in BE and FE parts:
Expected Behavior
As declared in useBreadcrumbs return type I expect category breadcrumb with path returned:
Steps To Reproduce
No response
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: