magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.07k stars 683 forks source link

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

Closed joseamietta closed 2 months ago

joseamietta commented 5 months ago

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:

Please let us know what packages this bug is in regards to:

m2-assistant[bot] commented 5 months ago

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 commented 5 months ago

@magento I am working on this

glo82145 commented 5 months ago

@adobe export issue to Jira project PWA

github-jira-sync-bot commented 5 months ago

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