Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    215
    Plugin Contributions
    0

    Default phpMyAdmin uploads

    I'm trying to upload a csv file of data (by the way not had much luck with easypopulate and don't wish to use it). So, the question is how do I upload data to the DB on my ZenCart installation. If I download all the tables relating to 'products' from the database confusingly it does not include either a name or description of the product. For that one has to download 'products_description' tables. The question is how do I match these two tables?

    For example, suppose I upload 100 new products into the products table of the DB. I don't know what the Product ID will be until it has been uploaded. The MySQL DB will assign these IDs automatically (auto-increment). How will I know which products have been assigned which ID which I will need in order to marry the other upload which must be to the 'products_description' tables?

    Thanks for any help.

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: phpMyAdmin uploads

    Quote Originally Posted by enquirer66 View Post
    The question is how do I match these two tables?
    .
    I'm not trying to be a smartass (for a change) but you'll find the following tutorial to be very beneficial:
    http://www.w3schools.com/SQl/default.asp

    Cheers
    Rod

  3. #3
    Join Date
    Sep 2007
    Posts
    215
    Plugin Contributions
    0

    Default Re: phpMyAdmin uploads

    Thanks, a useful site but I prefer to work with phpMyAdmin. Anyway, I have resolved this now.

  4. #4
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: phpMyAdmin uploads

    I have been using EP (paid version for years) I upload patches of thousands of products with no problems and I can assign the product_id before I add them. (EP tell you the last number in database so you don't have conflict).

    Some things are easier done in phpmyadmin but adding a product isn't one of them since there are multiple tables associated with products. Just my 2 cents.

  5. #5
    Join Date
    Sep 2007
    Posts
    215
    Plugin Contributions
    0

    Default Re: phpMyAdmin uploads

    I've developed a system which I hope will speed up phpmyadmin uploads but the problem I've now got is as follows:

    I uploaded three trial products along with the relevant data. I can see them in the DB (using phpMyAdmin) but I can't see them in my shop - they are nowhere to be found. Can anyone suggest why this is?

  6. #6
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: phpMyAdmin uploads

    Because the product id are usually associated with more than one or 2 tables. Which is why we recommend EP. If you added the product correctly in myphpadmin there are no reason why they won't show up in store front or admin.

 

 

Similar Threads

  1. Uploads
    By deemurphy in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 5 May 2009, 11:58 AM
  2. Uploads?
    By tee-dot in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Jul 2008, 10:51 PM
  3. Product uploads
    By Alan H in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 4 Jul 2006, 01:59 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