Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Importing directly into database


rinon

Recommended Posts

Posted

Hi there -

 

I'm kind of new to osCommerce, so I'm not familiar with the database structure. I'm trying to write a PHP script that imports an existing database into the osCommerce database. I add an entry to the products, products_description, and products_to_categories tables. I already have the categories table set up. It all imports correctly and I can see they are there (manual SELECT), but they don't display in the interface.

Which database am I missing?? :(

 

(I can post a sample entry from each of the above tables if that will help)

 

Thanks.

Posted

in table products_description did you upload a language_id for each priduct?

 

If you uploaded files to table categories, rather than create them in the Admin panel, you will have to populate table categories_description, being sure to have language_id uploaded to that table also.

GEOTEX from Houston, TX

 

(George)

Posted

Thanks for the help.

I looked at my products_description table and found :o it was empty! I had a bug in my PHP code.

Thanks again for the help, it put me on the right track.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...