Hi guys, I was wondering if there's a way to stay on the same page after logging in? Right now the customer is taken to the account page after they log in. Is it possible to add ajax functionality to the login mechanism? Just like the Ajax add to cart, so the process happens on the same page without going to the account page?
Thanks a lot!
Thanks a lot!
I'm looking for this thing like crazy. Anyone know how to NOT redirect after login? I need user to stay on the current page after login. Thank you!
but the current page would be the login page, so i dont understand what you mean?
Thats why people have it redirect to somewhere like customer account links etc.
Do you mean you have a login module and you wish people to login but not be redirected?
Thats why people have it redirect to somewhere like customer account links etc.
Do you mean you have a login module and you wish people to login but not be redirected?
Yes, basically stay on the current page after you login. Like www.vimeo.com
The login box comes at you in a thickbox and after you log in it stay on the current page.
Just like the add to cart in opencart. It adds the products to cart but doesn't redirect anywhere.
Thank you!
The login box comes at you in a thickbox and after you log in it stay on the current page.
Just like the add to cart in opencart. It adds the products to cart but doesn't redirect anywhere.
Thank you!
Thanks for the suggestion qahar but when I removed the redirect line it did not log me in.qahar wrote:All redirection is declared by $this->redirect(... ...) in controller.
Remove the line you need and the page will not redirected.
My question is how to log in and register the session, after which instead of going to account page redirect to the same page a user might be on.
I guess I'm looking for the code that reads the current browser address and just reloads that same page after the login button is clicked.
Thanks again!
I have made extension Pop-up Login Ajax Window, this can help you.
http://www.opencart.com/index.php?route ... on_id=2455
http://www.opencart.com/index.php?route ... on_id=2455
try my "FREE! Ajax Login" vqmod, it has a bonus feature to keep your customers on the same page after login/logout.
http://www.opencart.com/index.php?route ... on_id=9884
http://www.opencart.com/index.php?route ... on_id=9884
Who is online
Users browsing this forum: No registered users and 15 guests