Skip to content
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]: PDP breadcrumbs only show one level of product category #4261

Open
1 of 8 tasks
joseamietta opened this issue May 6, 2024 · 4 comments
Open
1 of 8 tasks

[bug]: PDP breadcrumbs only show one level of product category #4261

joseamietta opened this issue May 6, 2024 · 4 comments
Assignees
Labels

Comments

@joseamietta
Copy link

Describe the bug

The PDP breadcrumbs only show one level of product category

To reproduce

Steps to reproduce the behavior:

  1. Go to https://venia.magento.com/penelope-peasant-blouse.html
  2. 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

image
image

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
  • peregrine
  • pwa-devdocs
  • upward-js
  • upward-spec
  • create-pwa
@joseamietta joseamietta added the bug Something isn't working label May 6, 2024
Copy link

m2-assistant bot commented May 6, 2024

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.

@joseamietta
Copy link
Author

@magento I am working on this

@joseamietta joseamietta changed the title [bug]: Error on build PDP breadcrumbs [bug]: PDP breadcrumbs only show one level of product category May 6, 2024
@glo82145
Copy link
Collaborator

glo82145 commented May 8, 2024

@adobe export issue to Jira project PWA

@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.adobe.com/browse/PWA-3264 is successfully created for this GitHub issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants