![]() |
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 |
Re: Importing customer accounts
et me clarify, all I want the customers to have to use is their email address
|
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.
|
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
|
Re: Importing customer accounts
|
Re: Importing customer accounts
Balinor,
which method do you recommend for 4.1.8 |
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.
|
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); |
Re: Importing customer accounts
correction only the register.php is hosed
|
Re: Importing customer accounts
I trust you made a backup before you started monkeying with the file?
|
Re: Importing customer accounts
yes but it didn't restore the register.php
|
Re: Importing customer accounts
That's what I mean, you didn't make a backup of register.php?
|
Re: Importing customer accounts
ok, phew ok, forgot i could ctrl z in dreamweaver lol
|
Re: Importing customer accounts
Ok, here's a piece of advice....forget DW, that will only mess up your code. Use FTP to make backups of EVERYTHING before you start editing, and get yourself a good text editor like Ultraedit. NEVER edit a PHP file or a template without making a backup first, no matter how small the edit, as a code error can shut down your site.
|
Re: Importing customer accounts
ok hrm...got a backup of the resister.php sent to me by my host...still getting a message that there is an unexpected = in line 201....and this also occurs when attempting to checkout...
} $fillerror (!empty($error) || empty($passwd1) || empty($passwd2) || $passwd1 ! $passwd2 || strlen($passwd1) > 64 || strlen($passwd2) > 64); if (!$fillerror) { if ($default_fields['b_country']['avail'] != 'Y') { $b_country = $config['General']['default_country']; if ($default_fields['s_country']['avail'] != 'Y') $s_country = $config['General']['default_country']; } |
Re: Importing customer accounts
i feel like having a mental breakdown
|
Re: Importing customer accounts
Again, you'll need to use that thread...post any issues you have there and people who have implemented that can help you. It is not an easy mod to implement.
|
Re: Importing customer accounts
that's just it there shouldn't be any mods anymore...it's supposed to be the virgin file
|
Re: Importing customer accounts
It probably has the old file cached...close your browser, clear your history and try it again. Also try running the 'force cache regeneration' tool in Summary/Tools
|
Re: Importing customer accounts
yup...this was fixed long ago
|
All times are GMT -8. The time now is 11:22 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.