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)
-   -   Importing customer accounts (https://forum.x-cart.com/showthread.php?t=38545)

toolexperts 03-24-2008 02:59 AM

Importing customer accounts
 
I am moving over from another program and am uploading my customer accounts, the only main issue I have is that X-cart uses the username and login, and I want it to be only email address....how can I fix this?

Thank you

toolexperts 03-24-2008 02:59 AM

Re: Importing customer accounts
 
et me clarify, all I want the customers to have to use is their email address

balinor 03-24-2008 03:17 AM

Re: Importing customer accounts
 
That requires quite a bit of modification, as you would need to replace the username fields everywhere with an e-mail address, give the customer a way to change their username (not currently an option) and then make sure the e-mail address is unique, which will prevent anon checkout customers from buying from you more than once. All in all, a pretty big headache.

toolexperts 03-24-2008 03:47 AM

Re: Importing customer accounts
 
I figured as much. I was told by our reseller that it wouldn't be hard, my bosses have listed it as a high priority, and I have no clue where to start

balinor 03-24-2008 03:53 AM

Re: Importing customer accounts
 
You can start here:

http://forum.x-cart.com/showthread.php?t=8809

toolexperts 03-24-2008 04:54 AM

Re: Importing customer accounts
 
Balinor,

which method do you recommend for 4.1.8

balinor 03-24-2008 04:58 AM

Re: Importing customer accounts
 
You'll need to read that thread...I don't recommend this method at all because of the issues I mentioned above.

toolexperts 03-24-2008 05:16 AM

Re: Importing customer accounts
 
yeah i tried the method listed in that thread and now my site is down...it keeps telling me i have an error in line 201.... Parse error: syntax error, unexpected T_BOOLEAN_OR in /home/httpd/vhosts/toolexperts.com/httpdocs/register.php on line 201....Here is my code.....


$fillerror = (!empty($error) || empty($passwd1) || empty($passwd2) || ($passwd1 != $passwd2)); || strlen($passwd1) > 64 || strlen($passwd2) > 64);

toolexperts 03-24-2008 05:34 AM

Re: Importing customer accounts
 
correction only the register.php is hosed

balinor 03-24-2008 05:40 AM

Re: Importing customer accounts
 
I trust you made a backup before you started monkeying with the file?


All times are GMT -8. The time now is 02:13 AM.

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