Jump to content

deleting all products


Guest on_way_to_fame

Recommended Posts

Guest on_way_to_fame

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

Link to comment
Share on other sites

Guest estelle

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.

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...