pwa-studio
pwa-studio copied to clipboard
[bug]: Gallery item Add To Cart configurable product redirect URL doesn't match tile URL
Describe the bug
When clicking the add to cart button on a configurable product gallery item (the PLP for instance) the URL you're redirected to doesn't match the URL used on the product tile.
To reproduce
Steps to reproduce the behavior:
- Go to https://venia.magento.com/venia-bottoms/venia-pants.html?page=1
- Click on the Add To Cart button for Gloria Palazzo Pants
- Will be redirected to https://venia.magento.com/venia-bottoms/gloria-palazzo-pants.html
Expected behavior
Should be redirected to https://venia.magento.com/gloria-palazzo-pants.html, like click the image would do
Possible solutions
- Support product options in listings
OR
- Render a Redirect component instead of using
history.pushand prefix URL with a/so it uses the base URL instead of being relative
OR
- Use a Link for the button when it's a configurable product
Please let us know what packages this bug is in regards to:
- [ ]
venia-concept - [x]
venia-ui - [ ]
pwa-buildpack - [x]
peregrine - [ ]
pwa-devdocs - [ ]
upward-js - [ ]
upward-spec - [ ]
create-pwa
Hi @JustinConabreeAbsolunet. 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.
@magento export issue to JIRA project PWA as Bug
:white_check_mark: Jira issue https://jira.corp.magento.com/browse/PWA-2832 is successfully created for this GitHub issue.
Thanks @JustinConabreeAbsolunet ! We'll add this to some upcoming work 👍
@anthoula - is there any update on this issue?
@adobe export issue to JIRA project PWA as Bug
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-2971 is successfully created for this GitHub issue.
@anthoula - is there any update on this issue?
@chris-brabender This has been reprioritized and is in our backlog