Page 1 of 1
Cart Emptied on forgot Password Reset - v7.0.4
Posted: Fri Apr 23, 2010 11:42 pm
by Intelliflex
Just upgraded a site from 7.0.0 to 7.0.4 a week ago, and are having customer complaints that they went to checkout, couldn't login, clicked the forgot password, reset the password through the email link, and their cart was empty when they logged in. Since several customers indicated they spent significant time shopping, they were very frustrated losing what they had in the cart. I was able to recreate this issue.
The abandoned baskets increased from several a day upto 50. Both issues started around the time of the update. Some customers said that they knew their password, but the system kept saying wrong password. Sales have dropped significantly in the same time period as well.
Anyone else having any of these issues?
Thanks in advance for your time...
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Mon Apr 26, 2010 9:20 am
by mazhar
Yes its there I am able to reproduce the case. I have logged the issue here in our logs
viewtopic.php?f=42&t=13498
The reason behind this issue is that we are not migerating user's old basket upon password reset. Here is the fix for you
Edit ConLIb/PasswordHelp.ascx.cs control file and locate following code in it
Code: Select all
_User.SetPassword(Password.Text);
_User.Comment = string.Empty;
_User.Save();
and then update is as below
Code: Select all
_User.SetPassword(Password.Text);
_User.Comment = string.Empty;
_User.Save();
User.Migrate(Token.Instance.User, _User);
Save the file and try again to reproduce the case.
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Mon Apr 26, 2010 7:50 pm
by Intelliflex
Mazhar
Thanks for confirming the issue and for the code.
I'll make the code changes and let you know how it goes.
I appreciate your help!
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Mon Apr 26, 2010 11:14 pm
by Intelliflex
Mazhar...
I modified the code and got this error:
Your identity has been verified. Please set a new password now. [[ConLib:PasswordHelpPage]]
c:\Inetpub\wwwroot\Site1\www\ConLib\PasswordHelpPage.ascx.cs(69): error CS0103:
The name 'Token' does not exist in the current context
Aside from the code issue, this brings up a security concern, this error reports a file path to a non local computer.
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Tue Apr 27, 2010 5:41 am
by mazhar
Sorry I forgot to mention one more change. In ConLib/PasswordHelpPage.ascx.cs file locate the using statements section on very top and add this one at the end of this section on new line
save the file and test again.
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Tue Apr 27, 2010 11:25 am
by Intelliflex
Mazhar
It appears to work.
I appreciate your help, thank you.
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Wed Apr 28, 2010 4:25 am
by mazhar
Yes you need to make this code change in order to make it work properly.
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Sat Dec 31, 2011 10:37 am
by roadkill
MAZHAR, we have the same issue with v7.0.3 with that code fix it? It didn't happen ALL the time....just often.
Re: Cart Emptied on forgot Password Reset - v7.0.4
Posted: Wed Jan 25, 2012 10:46 am
by mazhar
I hope it will work. I don't remember if anything related to these codes can be different between 7.0.3 and 7.0.4.