Assuming that you can get to phpMyAdmin or some other database tool then the following will insert a product name of "No Name" which will allow you to see and edit the missing product details. Please back up the database before using this command.
Code:
INSERT IGNORE INTO products_description SELECT products_id, 1, 'NO Name', Null, Null, 0 FROM products;
Note:
1. If you use a table prefix then you will need to add the prefix to the table names. i.e. id you use "ZEN" then command will be.
Code:
INSERT IGNORE INTO ZEN_products_description SELECT ZEN_products_id, 1, 'NO Name', Null, Null, 0 FROM products;
2. You will see a lot of errors because there are some products already with names. These will not be overwritten.
3. If you have the old database you would be better to export the products_description table and import to your new database.
Bookmarks