rinon Posted June 29, 2004 Posted June 29, 2004 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.
Geotex Posted June 29, 2004 Posted June 29, 2004 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)
rinon Posted June 29, 2004 Author Posted June 29, 2004 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.