Page 1 of 1

Login Status Update

Posted: Fri Sep 09, 2011 6:38 pm
by pravin
when we jump on checkout without login, and then we login on checkout page, user logged in but login status in header not chnaged.

Re: Login Status Update

Posted: Sat Sep 10, 2011 12:30 am
by i2Paq
What version of OC, default or custom theme?

Link?

Re: Login Status Update

Posted: Sat Sep 10, 2011 1:33 am
by Daniel
if you actually read the changelog you would notice there has only been one change to fix a security problem.

Re: Login Status Update

Posted: Sat Sep 10, 2011 2:28 am
by uksitebuilder
see if this works for you

open: catalog/view/theme/default/template/checkout/checkout.tpl

find

Code: Select all

			if (json['redirect']) {
				location = json['redirect'];
			}
It is part of the: $('#button-login').live('click', function() {

change it to:

Code: Select all

			if (json['redirect']) {
				location = json['redirect'];
			}else{
				location.reload();
			}

Re: Login Status Update

Posted: Wed Sep 14, 2011 5:15 am
by ccM
Simon you rock! Thanks :)

Re: Login Status Update

Posted: Wed Sep 14, 2011 8:01 pm
by JasonSGN
Daniel, I guess it wasn't "invalid" after all since you FINALLY fixed it in the SVN 602:

http://forum.opencart.com/viewtopic.php ... 40#p165843