X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Use E-mail address instead of username 4.2 (https://forum.x-cart.com/showthread.php?t=45889)

admamy 02-27-2009 05:12 PM

Use E-mail address instead of username 4.2
 
I would like to use email address as a default login for users so the particular email address would be able to register more than one time. At the same time, the greeting will be using the customers first and last name in the email or when they login instead of using the email address. For example, "Welcome back Mr. XX" when they lgoin and "Dear Mr.XX" in all email communication.

Thanks in advance.

balinor 02-27-2009 07:22 PM

Re: Use E-mail address instead of username 4.2
 
Please don't post questions in the Completed Custom Mods forum. Moving to the 4.2 template forum.

mmasterson 03-04-2009 04:34 PM

Re: Use E-mail address instead of username 4.2
 
Has anyone tried this mod yet? http://forum.x-cart.com/showthread.php?t=8809&highlight=email+instead+of+u sername

Any input from the experts here?

balinor 03-04-2009 04:37 PM

Re: Use E-mail address instead of username 4.2
 
IMHO, this is not something you should do. In order for it to work, you need to make the e-mail address a unique value - meaning you can't use it more than once. This prohibits customers who do NOT want to register from ordering more than once - and a significant amount of the general public doesn't like to create an account when they purchase from a store. While I agree that e-mail as the username is a good idea, it needs to be done a lot more thoroughly than it was in that thread.

JWait 03-05-2009 06:58 AM

Re: Use E-mail address instead of username 4.2
 
Quote:

Originally Posted by balinor
This prohibits customers who do NOT want to register from ordering more than once - and a significant amount of the general public doesn't like to create an account when they purchase from a store.


The problem is, x-cart creates an account anyway, it just names it "anonymousX".

By using the email address instead of a username, the only thing the customer has to do is add a password. On occasions where the email address has already been used, maybe politely informing the customer that they have made a previous purchase and having the "recover password" handy for them to retrieve the password, and possibly checking the previous shipping information against the current information would actually be a better system than the present "username" and "anonymous" checkout system currently in use.

This probably beyond the scope of working in 4.2, but it is something to consider in later versions.

seaCOAST 03-05-2009 01:05 PM

Re: Use E-mail address instead of username 4.2
 
How about the option of using username OR email in 4.2?

Is that possible?

toolauthority 03-30-2009 06:48 AM

Re: Use E-mail address instead of username 4.2
 
I just modified this in my store to use the email address as the login for customers that are registering and uses the standard anonymous-x for guests. It seems to work pretty well so far, but than again I am not live yet. It has passed all my testing so far. Had to modify 6 files and 4 database entries, but that's not that bad (until its time to upgrade). Let me know if anyone is interested? I like to share!

jedak 03-30-2009 06:55 AM

Re: Use E-mail address instead of username 4.2
 
Please share. I'm trying to accomplish this right this very minute.

jedak 03-30-2009 07:08 AM

Re: Use E-mail address instead of username 4.2
 
Order status page.
Where customers can enter order number and zip code/email so they can check order status useful for anonymous as well as registered customers.

toolauthority 03-30-2009 07:25 AM

Re: Use E-mail address instead of username 4.2
 
I can't find one of the changes I made, the most important of course. I'll let you know later today, unless you figure it out before then. I didn't write it in my changelog.

toolauthority 03-30-2009 09:01 AM

Re: Use E-mail address instead of username 4.2
 
1 Attachment(s)
Here is my changelog file for that section. I never did find the original change I made for part of it, its like it never existed (weird), so I just re-wrote it really quick. Let me know if you have any questions and I'll try and help. I am fairly new to x-cart, but not PHP.

jedak 04-01-2009 03:25 PM

Re: Use E-mail address instead of username 4.2
 
Thanks for the help. I haven't completed it as yet but it seems pretty straight forward.

rousiland 09-09-2009 01:53 AM

Re: Use E-mail address instead of username 4.2
 
Looking at doing this as well and I would add that there are a lot of other tables that also need to be updated as they use the 'login' field as a key. As far as I can tell, the other tables that need updating are the ones listed below. You may also have additional tables from extra modules that also require an update.

xcart_change_password
xcart_customers
xcart_customer_bonuses
xcart_discount_coupons_login
xcart_login_history
xcart_old_passwords
xcart_orders
xcart_register_field_values
xcart_seller_addresses
xcart_stats_cart_funnel
xcart_stats_customers_products
xcart_subscription_customers
xcart_wishlist

diviterra 02-08-2010 01:40 PM

Re: Use E-mail address instead of username 4.2
 
Hey toolauthority,

did you experienced any problems using your mod? I'm considering using it, so I'm wondering if it works perfectly.

thanks in advance!

toolauthority 02-09-2010 04:14 AM

Re: Use E-mail address instead of username 4.2
 
We did experience a few problems, but they were more related to x-cart glitches. Unfortenetly I don't keep as good of notes as I should, but I'll try and find the other changes I found. It relates to the fact that in some places x-cart converts the login to lowercase and others it doesn't. This leads to the software not seeing them as an exact match.

diviterra 02-09-2010 12:00 PM

Re: Use E-mail address instead of username 4.2
 
thanks in advance,

i'm looking forward for you reply


All times are GMT -8. The time now is 02:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.