Guest on_way_to_fame Posted November 5, 2005 Share Posted November 5, 2005 Hi, I just wanted to know, is there an easy way of deleteing all your products at one go? I do not want to re-install, as i want to leave my categories and other things as they are, but I just want to delete all the products? Any help would be greatly appreciated. Thanks Ash Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 5, 2005 Share Posted November 5, 2005 Use phpMyAdmin and run the following two SQL commands: TRUNCATE TABLE CubeCart_inventory; TRUNCATE TABLE CubeCart_cats_idx; But check the names of your tables first, because if you setup a "table prefix" when you installed cubecart your tables might be named differently, e.g. test1_CubeCart_inventory This will not delete any of you images. Estelle. Quote Link to comment Share on other sites More sharing options...
Guest on_way_to_fame Posted November 5, 2005 Share Posted November 5, 2005 Thanks Estelle, That was quick Ash Quote Link to comment Share on other sites More sharing options...
Guest estelle Posted November 5, 2005 Share Posted November 5, 2005 Yeh... I'm subscribed to the forum so I'm notified by email of all new topics. What an idiot I am :w00t: Quote Link to comment Share on other sites More sharing options...
Guest Posted November 5, 2005 Share Posted November 5, 2005 B) Your subscribed I remember those days well ha ha ha <<<not no more just sit in here 12 hours a day now watching come to think of it ....DOH! ;) Quote Link to comment Share on other sites More sharing options...
Guest sunshine Posted November 5, 2005 Share Posted November 5, 2005 How do you subscribe and don't see the button. Quote Link to comment Share on other sites More sharing options...
Guest jbdancer Posted November 5, 2005 Share Posted November 5, 2005 Waaaay left of the Add Reply Button , you have an other button , click on it and there you can subscribe to parts off the forum :w00t: Quote Link to comment Share on other sites More sharing options...
Guest Posted November 5, 2005 Share Posted November 5, 2005 To get everything, you'd need to do 4 SQL statements: TRUNCATE TABLE CubeCart_inventory; TRUNCATE TABLE CubeCart_inv_lang; TRUNCATE TABLE CubeCart_cats_idx; TRUNCATE TABLE CubeCart_img_idx; If you want to clear all your categories as well, there are 2 SQL statements: TRUNCATE TABLE CubeCart_category; TRUNCATE TABLE CubeCart_cats_lang; Of course if you have a database prefix, you'll need to add that in. :homestar: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.