This is a discussion on Migrating customers to new store within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I am planning on updating my store. Does oscmax v1.7 have any way to export ALL customer info, so that ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I am planning on updating my store. Does oscmax v1.7 have any way to export ALL customer info, so that I can update the new store with that customer info? There is a contrib. (in the osc contrib. section) that exports customer info, but it doesn't decrypt the customers' passwords, so its no good. I might as well have the customer go in and create a whole new account. The idea is that the customer will be able to go to the new store (same old url) and log right in. Any suggestions on exporting ALL customer info, including passwords? |
|
#2
| ||||
| ||||
| The passwords cannot be decrypted. They use a one way MD5 method. You should just be able to copy the md5 hash along with all the other customer info. There is no need to have them decrypted, since md5 creates the same hash for a given password, no matter what server it is on...
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Ok, well then on to my new question (springing from the fact that I'm an osc idiot) - is there a way to add the customers to the new database without doing them manually >> create_account.php over and over and over and over and over again, then emailing the customers and saying "we've updated our store, please go to our site, click "password forgotten" and reset your password" ???? |
|
#4
| ||||
| ||||
| Yep, Just do an sql dump of the data from the original database table and then execute the sql batch file generated from the dump on the new database. This is done in a mysql front end like phpmyadmin or sqlyog.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| SQL dump = ? admin>>tools>>backup? Would taking the SQL dump from one version of oscmax to another not totally screw things up? For example, lets say I have an oscmax v1.7 store, and I "backup" the sql db. I then want to add those customers to my new oscmax v1.8 store (or next version, whatever the version number may be). In the process of adding those customers to the new stores database, would I not be adding all sorts of other unnecessary stuff needed by the v1.7 store, but NOT needed by the v1.8 store? -----if so, wouldn't this extra stuff that I'm adding to the new database (of the new v1.8 store) totally frag the new store? |
|
#6
| ||||
| ||||
| SQL dump = google it. No, do not use the osC backup feature for this. Use a tool like phpmyadmin or sqlyog. I did not realize you were changing versions. I thought you were just moving the data to another shop. This adds another layer to the above info. When changing versions, you always want to compare data strucuture between the 2 dbs using a tool like mysqldiff. Then using the output of mysqldiff, upgrade a copy of your original db to the new structure. Then do an sql dump/export of the data from the original db, as its structure will now match the new db. Most likely, if you are running a stock osCMax v1.7, you will be able to use an included mysql batch file in the new version to update the structure of your db to match the new version...
__________________ Michael Sasek osCMax Developer
|
|
#7
| |||
| |||
| Thank you SO much for your help. You are a great help, and credit to the osc community. |
|
#8
| |||
| |||
| This seems very complicated to go from 1.7 to 2.0 Are there any plans to provide a simple upgrade installation script? If so, any ETA when to expect this? I'd really like to upgrade my 1.7 store, but doubt I have the "know how" to convert my existing DB manually via the steps outlined above. Thanks. |
|
#9
| ||||
| ||||
| hayesb2, re read my post above: Quote:
__________________ Michael Sasek osCMax Developer
|
|
#10
| |||
| |||
| Is the osCMax.sql file in the catalog/install folder the script that will update my old db to the new structure? Thanks
__________________ Learning osCommerce - a lifelong project? |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Setup a Test Store using your Web Store Code | mnpolock | osCMax v1.7 Installation | 1 | 05-24-2005 05:05 AM |
| Help migrating to OSC Max | jptechnical | osCMax v1.7 Installation | 2 | 06-14-2004 12:56 PM |
| Migrating data over from osc MS2 getting ERRORS HELP!! | FilmDirector | osCMax v1.7 Installation | 7 | 05-10-2004 12:06 PM |
| New customers see old orders! | mikeyboy | osCommerce 2.2 Modification Help | 0 | 02-16-2004 08:28 AM |
| Migrating from MS2 to MS2-MAX | nrvtoday | osCMax v1.7 Discussion | 2 | 10-04-2003 05:04 AM |