Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2009
    Posts
    40
    Plugin Contributions
    0

    Default Data Migration Nightmare/ SQL and Easy Populate

    Hi everyone,

    I need to copy my whole product inventory over to another ZC site.

    One stumbling block might be that the first site is 1.3.8.1, the second is 1.3.8.1.sp1 (both installed with SimpleScripts, that might be part of the problem.)

    I have just tried everything I can think of to do this. I have more than 1000 products, so doing it by hand is not practical. First, I copied the /images/ directory.

    1) phpMyAdmin Export all relevant product tables to SQL, rename tables (1.3.8.1.sp1 adds "zen_" before every table name, hand check every table definition to make sure it's the same, import to the new ZC database.

    Result: I see NO functioning categories, only a category with no name and all 1100 of the products. When I click on this blank category, no products show up.

    2) I install easy populate 1.2.5.5 CSV, the same version that I have had on my first site. Export to CSV from my first site, import into the second site.

    Result: Only one new category is added. It has one less than the expected number of parts. When I click on this category, it says there are no products to show.

    When I do an easy populate export from the second site, it shows the full database, everything looks good. But things just refuse to show up in the "categories" list.

    Can anyone shed some light on the situation? I am going crazy. It's a time sensitive thing, and I just can't get this data to migrate properly. What am I doing wrong? Do I have to just start over?

    Thank you,
    Sasha Shepherd
    HyosungSource.com

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Data Migration Nightmare/ SQL and Easy Populate

    Easy populate is ok, but your first thought was best IMO.

    You likely missed the category related tables when you exported. There are quite a few tables to export.

    I would drop the existing imported tables and re-import the following tables.

    categories
    categories_description
    manufacturers
    manufacturers_info
    meta_tags_products_description
    products
    products_attributes
    products_attributes_download
    products_description
    products_discount_quantity
    products_options
    products_options_values
    products_options_values_to_products_options
    products_to_categories
    product_types_to_category

    Just the basic, if using special product types or media you will need those as well.

    Then to change the prefixes something like below for each

    Code:
    ALTER TABLE categories RENAME TO zen_categories;
    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Mar 2009
    Posts
    40
    Plugin Contributions
    0

    Default Re: Data Migration Nightmare/ SQL and Easy Populate

    Thank you. I did finally get it to work, using EP...not sure why it ended up working in the end. This Zen Cart is a bit of an alchemy ;)

    I DID do every single product table on the first step, using the "Database Schema" page. I still don't know why it didn't work, it sures seems like it ought to have. Oh well! Thank you for taking the time to read my long question :)

 

 

Similar Threads

  1. Replies: 16
    Last Post: 16 May 2016, 06:10 AM
  2. Easy Populate and Excel data handling
    By jackryan in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 12 Aug 2010, 04:22 AM
  3. Download products data in Easy Populate 1.2.5.7
    By petek in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 6 Feb 2010, 09:26 PM
  4. Farsi Persian Fonts In Sql And Easy Populate
    By reza in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 21 Aug 2006, 12:45 PM
  5. Farsi Persian Fonts In Sql And Easy Populate
    By reza in forum General Questions
    Replies: 0
    Last Post: 21 Aug 2006, 12:45 PM

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