Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Posts
    26
    Plugin Contributions
    0

    Default Importing products from another database. 404 errors

    I am working on a script that will import my particular database of products to a number of shopping cart solutions.

    When importing my database to zencart I am filling the following tables with the appropriate data:

    categories,
    categories_descripton,
    products,
    products_description,
    products_to_categories

    I can see the products on the browse style pages, however when I click to goto a detail page I get a 404 page, and I am not sure of what I am missing in the database to fix it.

    Any ideas?

    the test website can be found
    http://greendragonenterprises.net/gd1/

  2. #2
    Join Date
    Jul 2009
    Posts
    234
    Plugin Contributions
    1

    Default Re: Importing products from another database. 404 errors

    there is already an addon out there called Easy Populate which is used to import data into your shop and database.

    Its easier than writing your own script as its already done

  3. #3
    Join Date
    Jan 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: Importing products from another database. 404 errors

    the script I am developing is one which is much more complicated, designed to crawl my vendors sites then transfer the products to my sites automatically. My script seems to be putting in all the data I need, I am not sure why the 404 errors...

  4. #4
    Join Date
    Jan 2008
    Posts
    26
    Plugin Contributions
    0

    Default Re: Importing products from another database. 404 errors

    I figured out the problem, it was because the product_type was equal to zero, change it to 1

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Importing products from another database. 404 errors

    Thanks for the update on what fixed your imported products ...

    NOTE: you need to make sure that you have a master_categories_id on your Products and that you have the products_price_sorter ...

    IF you do NOT use Linked Products, you can quickly fix this in the Tools ... Store Manager ... by clicking, in this order:
    Reset ALL Products Master Categories ID
    to be used for Linked Products and Pricing:
    Update ALL Products Price Sorter
    to be able to sort by displayed prices: Update
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v152 How can copy some products from database to another database ?
    By dmagic in forum General Questions
    Replies: 5
    Last Post: 2 Jul 2018, 02:54 PM
  2. Importing Customers into ZC from Another Database
    By clausont in forum Managing Customers and Orders
    Replies: 2
    Last Post: 22 Dec 2012, 10:21 PM
  3. Importing database from another shopping cart?
    By mrbeads in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 17 Mar 2011, 12:48 AM
  4. Replies: 9
    Last Post: 26 Jan 2009, 10:06 PM
  5. importing products from another store
    By mediathing in forum General Questions
    Replies: 2
    Last Post: 20 Oct 2007, 09:52 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