pwa-studio icon indicating copy to clipboard operation
pwa-studio copied to clipboard

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

Open joseamietta opened this issue 1 year ago • 4 comments

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
  • [x] peregrine
  • [ ] pwa-devdocs
  • [ ] upward-js
  • [ ] upward-spec
  • [ ] create-pwa

joseamietta avatar May 06 '24 12:05 joseamietta

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.

m2-assistant[bot] avatar May 06 '24 12:05 m2-assistant[bot]

@magento I am working on this

joseamietta avatar May 06 '24 17:05 joseamietta

@adobe export issue to Jira project PWA

glo82145 avatar May 08 '24 10:05 glo82145

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

github-jira-sync-bot avatar May 08 '24 10:05 github-jira-sync-bot