Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2010
    Posts
    8
    Plugin Contributions
    0

    Default Merging Product Data from another store.

    I have another store that has the product list I need. My theory is to extract the following db tables;

    Code:
    categories
    categories_description
    manufacturers
    manufacturers_info
    products
    products_attributes
    products_attributes_download
    products_description
    products_discount_quantity
    products_notifications
    products_options
    products_options_types
    products_options_values
    products_options_values_to_products_options
    products_to_categories
    product_music_extra
    product_types
    product_types_to_category
    product_type_layout
    project_version
    project_version_history
    and inject them to the new site. Should work eh? From what I can see, the manufacturer tables will retain the manufacturer settings already specified on each product, categories will of course retain structure (which is a primary requirement.) Of course ALL the categories tables will provide me with all information.

    I probably should of just copied the store and then modified it.

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Merging Product Data from another store.

    You may want to investigate Easy Populate - it could (?) do the trick for you. Although, I must admit that I am not too au fait with this mod.

  3. #3
    Join Date
    Apr 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Merging Product Data from another store.

    Quote Originally Posted by frank18 View Post
    You may want to investigate Easy Populate - it could (?) do the trick for you. Although, I must admit that I am not too au fait with this mod.
    I was looking at it. I have extensive DB experience, I'm not new to Zencart and although this project was last minute; I'm scrambling on it. I don't generally do e-commerce solutions for my clients. It's more of a favor for a friend type of deal LOL.

    From what I could gather in the quick code scan overs and db setup, it appears that those tables I listed are the keys to moving. I'll know for sure in the morning when I drag myself out of bed and get back to work. LOL.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Merging Product Data from another store.

    Some of the tables are relational in terms of their associations - with the ID being the key.

    You may also find this in the manufacturers table where the product ID is used to associate the products with a given manufacturer. I have not looked inside the DB, so can't say for sure - but it wouldn't surprise me of the product-to-manufacturer is just a list of the products' ID's and the manufacturers' ID's.

    Easy Populate (1.2.5.4) works only with the categories and products tables - none of the others you mention.

    While it IS possible to bring in data from other databases and their tables, you need to know what is related to what in ZC - and constructing the SQl to do the transferring of data can be finicky.
    20 years a Zencart User

  5. #5
    Join Date
    Apr 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: Merging Product Data from another store.

    Worked like a charm! :)

 

 

Similar Threads

  1. v151 Import product from one ZC store to another
    By shags38 in forum General Questions
    Replies: 10
    Last Post: 7 Jun 2015, 06:21 AM
  2. v151 Data base merging
    By sparktronic in forum Upgrading to 1.5.x
    Replies: 10
    Last Post: 23 Feb 2013, 07:38 AM
  3. Import data from old store to new store
    By antonios in forum General Questions
    Replies: 5
    Last Post: 13 Feb 2010, 08:36 PM
  4. import product data from another system database?
    By jvanree in forum General Questions
    Replies: 2
    Last Post: 18 Mar 2008, 01:14 PM
  5. Copy product data from one Zen store to another
    By zaphod in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 15 Nov 2006, 11:38 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