Jump to content

Oscommerce Customer import?


Recommended Posts

Hello!
First of all i want to say: GREAT Shop!

And now over to my question. I have Oscommerce shop and need to get my user accounts with adresses and orderhistory over to Presta!

Any1 knows how to import users from oscommerce? Script? Gudie? Pls!

Link to comment
Share on other sites

Got it to work:

To import user adress from Oscommerce you have to add your CSV file and add Alias and a Email add.. Tried different editing of CVS, and when i added te email add, the adress was imported to the real user...

bbbb <--- alias ,4 <--- ID ,[email protected] <--- Email ,Name,LastName,Adress,123 45 <----Postal code ,State,Country

The CSV file from Oscommerce doesent include the mail add, you have to add it.. Why dont change the import function to just look that the ID match? The mail is alredy in the user from the user import...

Link to comment
Share on other sites

  • 2 years later...

Here is the SQL query to get the address information along with the customer information.

SELECT *
FROM `customers`
LEFT JOIN `address_book` ON `customers`.`customers_default_address_id` = `address_book`.`address_book_id`

You can link an address to a customer, by using the same email address for the customer email field and the address alias field.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...