Import Data directly into Database

Hi,
I need to import data into my new PE-Shop from different sources (OS-Commerce, Newsletter Listings and inventory management).
All data is available as mySQL database tables and I like to import it via SQL statements.

Newsletter:
each subscriber needs an entry in oxuser and the corresponding entry in oxnewssubscribed. What, if only the e-mail adress is available?

User (Customer):
I like to import users with name, first adress and e-mail; after the switch to the new system I want to tell my customers just to request a new password to login.
Which tables needs to be filled: oxuser, oxadress and oxnewssubscribed? Any other tables involved?

Thanks for help
Gregor

Hello Gregor,

As I announced here, we will come up with an importer script for osCommerce. Although I don’t know it particularly, I am pretty sure that, with this script, everything will be imported that is applicable. Hope you can wait a bit?


Marco Steinhäuser
Community Guide
OXID eSales AG

Hello Marco,

an importer script is a good idea, but it won’t help me, as I have to merge from different data sources.

So it would help, if you could tell me, how the tables oxuser and oxnewssubscribed are conected.

Thanks

Gregor

Hello Gregor,

IMO by oxuser:OXID and oxnewssubscribed:OXUSERID.Is it this what you are looking for?


Marco Steinhäuser
Community Guide
OXID eSales AG

… if I only knew what you mean by IMO

Oh sorry, IMO = In My Opnion.

Found this one right now: http://www.acronymfinder.com/ :slight_smile:


Marco Steinhäuser
Community Guide
OXID eSales AG

the connection between tables is pretty easy. if you just look in your db u’ll see it in like seconds. (if u know how to use sql).

the object(user) has his own ID. this id is used in any other table to reference to this user.

a user importer shouldnt be that hard. if you can code urself its a work from like 30 mins to write the user importer and test it. i coded for me several importer/exporter and a own api to access oxid data through mysql. its not a big deal. just work.

http://www.xtrem-lecker.de

onlineshop für gebrauchte büromöbel