pwa-studio
pwa-studio copied to clipboard
[bug]: PDP breadcrumbs only show one level of product category
Describe the bug
The PDP breadcrumbs only show one level of product category
To reproduce
Steps to reproduce the behavior:
- Go to https://venia.magento.com/penelope-peasant-blouse.html
- The product is asigned to Tops > Blouses & Shirts but the breadcrumbs only show Tops
Expected behavior
Breadcrumbs show all levels of asigned product categories
Screenshots
Possible solutions
The problem is in the function getBreadcrumbCategoryId on useProductFullDetail talon. Try to get category_id intance of category_uid, while graphQl only return category_uid
Debug Report
Paste the output of yarn build:report, and any other context about the problem, here.
Please complete the following device information:
- Device [Lenovo]:
- Browser [Chrome]:
- Browser Version [124.0.6367.91]:
- Magento Version [e.g Adobe Commerce 2.4.6]:
Please let us know what packages this bug is in regards to:
- [ ]
venia-concept - [ ]
venia-ui - [ ]
pwa-buildpack - [x]
peregrine - [ ]
pwa-devdocs - [ ]
upward-js - [ ]
upward-spec - [ ]
create-pwa
Hi @joseamietta. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
@magento I am working on this
@adobe export issue to Jira project PWA
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-3264 is successfully created for this GitHub issue.