Add to cart error message without reloading page.
-
Hello,
I have a problem with the error messages right now. I have multiple vendors where available on the website but the user can’t buy from different vendors. When an user tries to do this, it’s shows an error message on the page, but first it redirects to the home page..
I found a snippet to stop the redirection to the home page but then there is no error message coming up unless you refresh the page.
So in short; Is there a snippet that lets you refresh to the same page the error message needs to be shown on? Now it redirects to the home page.. I can’t provide an URL, the snippet needs to check what page the error is coming from and redirect back to that page instead of the home page.
Best,
- The topic ‘Add to cart error message without reloading page.’ is closed to new replies.