SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
283 stars 130 forks source link

[BUG] Breadcrumb links have not correct url on product detail #293

Closed nx-renezwinge closed 1 year ago

nx-renezwinge commented 2 years ago

Summary

Breadcrumb links have not correct url on product detail. Locale is missing in the urls.

Steps To Reproduce

Expected result

Can click on a link in the PDP Bread Crumb and reaching the correct page with current selected locale.

Actual result

On clicking a link in the Breadcrumb on product detail a page not found error is showing up.

System Information (as applicable)

Browser: Microsoft Edge 97 Node version: Node 14 pwa-kit version: 1.4.0-dev develop branch Desktop OS: macOS Montery Mobile Device Info: -

Additional information

x

sejal-salesforce commented 2 years ago

@nx-renezwinge Thanks for creating the issue with pwa-kit. I see that you are using the latest version. I tried to reproduce the issue using our hosted production site on the same version, and was not able to do so - https://pwa-kit.mobify-storefront.com/

Is that something that occurs when you run it locally? If yes, can you also try after clearing your local cache? Thanks!

nx-renezwinge commented 2 years ago

Hi @sejal-salesforce , sry, it was my mistake, i updated my original post, it is the current develop branch 1.4.0-dev. I retested it and deleted cache and i currently notify this problem in develop branch 1.4.0-dev. In 1.3. it is currently working correctly.