Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    5
    Plugin Contributions
    0

    Default Importing Data From A Non-ZenCart System

    I'm setting up a ZenCart site to replace an old (12+ years) hand-rolled one. The old database has been converted to MySQL, but now I'd like to bring over the existing customers and give them new accounts on the ZenCart system.

    I've copied over the relevant fields to the CUSTOMERS table, but the old database has the account passwords in the clear. I think it'll work if I can encrypt the in-the-clear passwords from the old database. Is there any way I can run the encryption on the old passwords, so that the customers won't have to create new accounts?

    The fields the two database have in common, and that I copied over, were all in the CUSTOMERS table:

    customers_id
    customers_firstname
    customers_lastname
    customers_email_address
    customers_telephone
    customers_password

    Do I need to bring over any other old data from the old system?

    ZenCart v1.3.8a.
    No upgrade; this is a fresh install.
    No add-ons.
    Running on one of GoDaddy's UNIX servers.

    Thanks in advance!

    JDTechnics

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Importing Data From A Non-ZenCart System

    Customer Data is stored in several tables, so you'll need to reconstruct the data in the corresponding new structures. Here's a link to categorized groupings of database tables to help you reconstruct your data: http://www.zen-cart.com/wiki/index.p...er_Information

    As to passwords, this discussion may be of interest to you: http://www.zen-cart.com/forum/showthread.php?t=50059
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Importing Data From A Non-ZenCart System

    Dr. Byte, you ROCK!

    Your script is slick-slick-SLICK!

    Thank you so very much!

    Marsha @ JDTechnics

 

 

Similar Threads

  1. Importing Data from Old Zen Database
    By rka81 in forum General Questions
    Replies: 3
    Last Post: 19 Oct 2011, 07:57 AM
  2. Importing Customer Data from Filemaker
    By Out2lunch in forum Managing Customers and Orders
    Replies: 3
    Last Post: 31 Oct 2009, 12:28 AM
  3. importing data from csv files
    By djdavedawson in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 19 May 2009, 09:46 PM
  4. Importing data from other website
    By rjgonzalez in forum General Questions
    Replies: 3
    Last Post: 15 Apr 2009, 01:39 AM
  5. Importing Product Data from CSV?
    By tjwalker in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 13 May 2007, 04:43 AM

Posting Permissions

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