AC 7 username vs. email address
- mmackrell
- Lieutenant, Jr. Grade (LT JG)
- Posts: 50
- Joined: Sun Mar 28, 2010 7:41 pm
- Location: Zelienople, PA
- Contact:
AC 7 username vs. email address
My company is currently running AC 5.x and we are in the process of upgrading to the latest and greatest.
It is my understanding that all users now have to have an email address, as this will be their username. I completely understand this logic
However, some of the purchasing agents who purchase our products (we're B2B) may not have an email individually for themselves (it may be shared email such as purchasing@clevelandclinic.com) and within that department, there may be several people procurring from our company.
My question: is there a way that we can maintain the 5.x way of logging in for customers that need that functionality? Is this something that can be customized?
Thanks in advance,
Margie
It is my understanding that all users now have to have an email address, as this will be their username. I completely understand this logic
However, some of the purchasing agents who purchase our products (we're B2B) may not have an email individually for themselves (it may be shared email such as purchasing@clevelandclinic.com) and within that department, there may be several people procurring from our company.
My question: is there a way that we can maintain the 5.x way of logging in for customers that need that functionality? Is this something that can be customized?
Thanks in advance,
Margie
Re: AC 7 username vs. email address
Actually AbleCommerce 7 can work with user names other then Email addresses. Right now there are certain validations where we collect user name input to collect valid Email address. I think if you give a try and remove Email validation check from signup and login page. Then create some user with some user name other then Email address and try loging it. Hopefully it will workout.
- mmackrell
- Lieutenant, Jr. Grade (LT JG)
- Posts: 50
- Joined: Sun Mar 28, 2010 7:41 pm
- Location: Zelienople, PA
- Contact:
Re: AC 7 username vs. email address
Thanks Mazhar, I will do this and let you know how it works out.
Margie
Margie
- mmackrell
- Lieutenant, Jr. Grade (LT JG)
- Posts: 50
- Joined: Sun Mar 28, 2010 7:41 pm
- Location: Zelienople, PA
- Contact:
Re: AC 7 username vs. email address
Mazhar,
I have removed the following code from the RegisterDialog.ascx:
And I see that there is validation code in the RegisterDialog.ascx.cs here:
Can you tell me where I would find the UserDataSource.CreateUser validation? I assume this is where I could go to removed the email check.
Thanks,
Margie
I have removed the following code from the RegisterDialog.ascx:
Code: Select all
<cb:EmailAddressValidator ID="EmailAddressValidator1" runat="server" ControlToValidate="UserName"
ValidationGroup="Register" Display="Dynamic" Required="true"
ErrorMessage="Email address should be in the format of name@domain.tld." Text="*" EnableViewState="False"></cb:EmailAddressValidator>
Code: Select all
User newUser = UserDataSource.CreateUser(userName, userName, Password.Text, string.Empty, string.Empty, true, 0, out status);
Thanks,
Margie
Re: AC 7 username vs. email address
If this is not working for you then it seems like we are enforcing email validation in UserDataSource.CreateUser method as well. Its a back end class function and not available without source code. So alternative would be to create user your self using something like
this will created user in database with name other then Email address. Finally at least your login page should not enforce Email address validation. Hopefully this will help you login with user name other then Email address.
Code: Select all
User user = new User();
user.UserName = "namehere";
user.Email = "Email";
.................
...............
..............
user.Save();
- mmackrell
- Lieutenant, Jr. Grade (LT JG)
- Posts: 50
- Joined: Sun Mar 28, 2010 7:41 pm
- Location: Zelienople, PA
- Contact:
Re: AC 7 username vs. email address
Thanks for the quick reply Mazhar. I am not a developer, so this is way beyond what I am capable of.
I assume there are third party providers that would do this customization for us and they would have access to the source code.
Margie
I assume there are third party providers that would do this customization for us and they would have access to the source code.
Margie
Re: AC 7 username vs. email address
Hello Margie,
We also provide services for able commerce customization, you can visit this site http://www.plugables.com/Services.aspx for details.
Thanks
We also provide services for able commerce customization, you can visit this site http://www.plugables.com/Services.aspx for details.
Thanks
hope this helps!
__________________
s_ismail
AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
__________________
s_ismail
AbleCommerce Customization
Free Plugins and Add-Ons
AbleCommerce Plugins and Add-Ons
Plugables Blog
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: AC 7 username vs. email address
We have done a few customizations to handle that kind of problem when a client has upgraded from an Able 5 store. For pricing, you can check with Allan Soave- phone # is 708-853-3100 x210.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
-
- Ensign (ENS)
- Posts: 1
- Joined: Mon Nov 07, 2011 1:35 am
- Location: San Diego
- Contact:
Re: AC 7 username vs. email address
who is Allan Soave ? does he will guide us or help us ?