Closed breadadams closed 1 year ago
ℹ️ Please note I originally reported that you have to first add products to the basket in order to reproduce the bug, however that is not the case. I've updated the description above to reflect this.
@breadadams thanks for reporting... I'm able to reproduce and will follow up.
I think this issue has been fixed in our develop branch by this PR: #1048
At the very least, while I can reproduce the issue on https://pwa-kit.mobify-storefront.com/ I cannot reproduce the issue on a local build off the develop branch with #1048 .
This is fixed in release 2.7.1
Summary
As a user, if I visit the storefront and register a new account, I cannot add products to my basket.
Steps To Reproduce
* With the user registration, an API call to the ShopperBasket merge endpoint returns a 404 error:
** When the add to basket POST request is made, it returns a 404 too:
Expected result
The product should be added to the basket correctly.
Actual result
The product is not added to the basket (although the success modal opens). The only way to be able to add products to the basket again is by manually refreshing the page.
System Information (as applicable)
Browser: Chrome Node version: 14 pwa-kit version: 2.7.0 Desktop OS: macOS Mobile Device Info:
Additional information
https://user-images.githubusercontent.com/5795227/233076022-f20dce19-545d-4a57-8ca0-57c0863af44a.mov