[bug]: Gallery item Add To Cart configurable product redirect URL doesn't match tile URL
See original GitHub issueDescribe 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.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
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Configurable product will not redirect to product view page ...
I just want to show this message in a popup without redirecting on the product view page. I found out the controller and...
Read more >sitemap-questions-371.xml - Stack Overflow
... /add-to-cart-button-in-oscommerce-keeps-redirecting-back-to-product-page ... -how-to-link-the-configurable-product-image-to-the-simple-product-image ...
Read more >Product Category URL does not match Permalink settings
Hello,. When I add a menu item (type: product category) and wherever my theme displays links to product categories, I see this URL:....
Read more >Hotfixes - Kentico DevNet
Kentico fixes reported bugs within 7 business days by releasing a hotfix. Learn more about our 7-day bug-fix policy. You can use the...
Read more >Winter 22 - Trailhead - Salesforce
Previously, buyers left the Category Detail or Search Results pages to go to the Product Details page to add items to their cart....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks @JustinConabreeAbsolunet ! We’ll add this to some upcoming work 👍
@chris-brabender This has been reprioritized and is in our backlog