Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[bug]: Gallery item Add To Cart configurable product redirect URL doesn't match tile URL #3854

Closed
2 of 8 tasks
justinconabree opened this issue May 13, 2022 · 8 comments · Fixed by #4001
Closed
2 of 8 tasks
Assignees
Labels
bug Something isn't working Progress: done

Comments

@justinconabree
Copy link
Contributor

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:

  1. Go to https://venia.magento.com/venia-bottoms/venia-pants.html?page=1
  2. Click on the Add To Cart button for Gloria Palazzo Pants
  3. 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.push and 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
  • venia-ui
  • pwa-buildpack
  • peregrine
  • pwa-devdocs
  • upward-js
  • upward-spec
  • create-pwa
@justinconabree justinconabree added the bug Something isn't working label May 13, 2022
@m2-assistant
Copy link

m2-assistant bot commented May 13, 2022

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


@anthoula
Copy link
Contributor

@magento export issue to JIRA project PWA as Bug

@anthoula anthoula added the needs-triage A pull request or issue that needs to be triaged prior to being synced to JIRA label May 16, 2022
@github-jira-sync-bot
Copy link

✅ Jira issue https://jira.corp.magento.com/browse/PWA-2832 is successfully created for this GitHub issue.

@anthoula anthoula added Progress: ready for grooming and removed needs-triage A pull request or issue that needs to be triaged prior to being synced to JIRA labels May 16, 2022
@anthoula
Copy link
Contributor

Thanks @JustinConabreeAbsolunet ! We'll add this to some upcoming work 👍

@chris-brabender
Copy link

@anthoula - is there any update on this issue?

@anthoula
Copy link
Contributor

@adobe export issue to JIRA project PWA as Bug

@github-jira-sync-bot
Copy link

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

@anthoula
Copy link
Contributor

@anthoula - is there any update on this issue?

@chris-brabender This has been reprioritized and is in our backlog

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Progress: done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants