New Zenner
- Join Date:
- Mar 2007
- Posts:
- 25
- Plugin Contributions:
- 0
Importing a customer list in ZenCart
Hi all,
I was confronted with this problem when a client who owns a wholesale business wanted to have all of his clients in ZenCart. He would then do a mailout to notify the clients that they can log in and place orders.
Problem:
- What tables get updated when a client is added through ZenCart's interface?
- What email address and password should I give the clients I have just added?
Resolution:
- The tables are:
- Email address and password
None of the clients I had to upload had an email address (for whatever reason) so I had to create a UNIQUE one for each client. And of course I also had to create a password.
Keeping it simple I chose the following format for the email address:
<customer_id>@<blah.com>
where <customer_id> is the unique record ID and <blah.com> is some arbitrary domain structure. The whole thing looks enough like a genuine email address to ensure ZenCart is happy with it when the client logs in.
The password is identical for all clients and it is the encrypted value of an arbitrary word such as: 62c4de849c1af31f90fe125527dd84dd:e3 for the word welcome.
Next step:
BACK-UP your existing data! BACK-UP your existing data! BACK-UP your existing data!
And then simply import the three files into ZenCart, again I used phpMyAdmin to do this.
Check the data has imported properly: count the rows, look at the data, etc
Test thoroughly: login as a client, try changing the password, etc.
Here you go.
Happy zenning!
Pierrick
Kind regards Pierrick