Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Importing customer accounts

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-24-2008, 02:59 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default 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
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #2  
Old 03-24-2008, 02:59 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: Importing customer accounts

et me clarify, all I want the customers to have to use is their email address
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #3  
Old 03-24-2008, 03:17 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 03-24-2008, 03:47 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default 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
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #5  
Old 03-24-2008, 03:53 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Importing customer accounts

You can start here:

http://forum.x-cart.com/showthread.php?t=8809
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 03-24-2008, 04:54 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: Importing customer accounts

Balinor,

which method do you recommend for 4.1.8
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #7  
Old 03-24-2008, 04:58 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-24-2008, 05:16 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default 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);
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #9  
Old 03-24-2008, 05:34 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: Importing customer accounts

correction only the register.php is hosed
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #10  
Old 03-24-2008, 05:40 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Importing customer accounts

I trust you made a backup before you started monkeying with the file?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:54 AM.

   

 
X-Cart forums © 2001-2020