osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 06-10-2005, 06:01 AM
Member
 
Join Date: Jan 2005
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adam71o
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 06-10-2005, 12:32 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-10-2005, 01:04 PM
Member
 
Join Date: Jan 2005
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adam71o
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" ????
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-10-2005, 02:02 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 06-13-2005, 07:32 AM
Member
 
Join Date: Jan 2005
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adam71o
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 06-13-2005, 07:48 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 06-13-2005, 10:50 AM
Member
 
Join Date: Jan 2005
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
adam71o
Default

Thank you SO much for your help. You are a great help, and credit to the osc community.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 06-17-2005, 09:16 AM
New Member
 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
hayesb2
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 06-17-2005, 11:07 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,334
Thanks: 68
Thanked 324 Times in 307 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

hayesb2, re read my post above:

Quote:
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 Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 01-22-2006, 05:49 PM
Member
 
Join Date: May 2004
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
dmiles
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 10:30 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax