Results 1 to 10 of 10

Migrating customers to new store

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 ...

      
  1. #1
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default Migrating customers to new store

    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. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default RE: Migrating customers to new store

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default RE: Migrating customers to new store

    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. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default RE: Migrating customers to new store

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default

    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. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Member
    Join Date
    Jan 2005
    Posts
    93
    Rep Power
    0


    Default

    Thank you SO much for your help. You are a great help, and credit to the osc community.

  8. #8
    New Member
    Join Date
    Mar 2005
    Posts
    10
    Rep Power
    0


    Default

    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. #9
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default

    hayesb2, re read my post above:

    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...
    That means that an upgrade script will be included in the final stable release. If the procedure seems to complex at present, wait until osCMax 2.0 Stable comes out.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  10. #10
    Member
    Join Date
    May 2004
    Posts
    31
    Rep Power
    0


    Default

    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?

Similar Threads

  1. How to Setup a Test Store using your Web Store Code
    By mnpolock in forum osCMax v1.7 Installation
    Replies: 1
    Last Post: 05-24-2005, 06:05 AM
  2. Help migrating to OSC Max
    By jptechnical in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 06-14-2004, 01:56 PM
  3. Migrating data over from osc MS2 getting ERRORS HELP!!
    By FilmDirector in forum osCMax v1.7 Installation
    Replies: 7
    Last Post: 05-10-2004, 01:06 PM
  4. New customers see old orders!
    By mikeyboy in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 02-16-2004, 08:28 AM
  5. Migrating from MS2 to MS2-MAX
    By nrvtoday in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 10-04-2003, 06:04 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •