[Bug Report] “Add to cart” in modal window need two clicks for redirection
-
Expected behavior
When I click on the “add to cart” button in the order modal window from this page, the product is supposed to be added to the shopping cart and the user is redirected to another page.
This is what the modal window looks like :
Actual behavior
However, when I click on the “add to cart” button from this page, the product is added to the shopping cart, but the modal window doesn’t close immediately and the user isn’t redirected to the order page. This requires a second click on the button.
On the other hand, redirection works from a command sent from a non-modal window, e.g. from this page.
The following image shows the bug log:
Whereas the image below shows the log of a functional button click:
Steps to reproduce bug
- Go to this order page.
- Click on “Sélectionner une option” in “Formule Express” to open the modal window.
- Fill in the required fields with any value.
- Click on “Add to cart” to see the bug.
You can try the same steps from this non modal window and see how well it works.
Environment setup
- The plugin option “Redirect to the cart page after successful addition” is checked.
- System Status Report can be found here, on GitHub.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.