Zen Cart Logo
Forums / General Questions / how can I clear the entire store?

how can I clear the entire store?

Locked

Views: 695

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 Jan 2010, 8:26 PM
#1
mrbuzzsaw avatar

mrbuzzsaw

New Zenner

Join Date:
Dec 2009
Posts:
21
Plugin Contributions:
0

how can I clear the entire store?

of all products and clear categories?

22 Jan 2010, 11:27 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: how can I clear the entire store?

Simplest to insure that every table is cleared is from the admin delete by category

23 Jan 2010, 7:36 AM
#3
mrbuzzsaw avatar

mrbuzzsaw

New Zenner

Join Date:
Dec 2009
Posts:
21
Plugin Contributions:
0

Re: how can I clear the entire store?

it seems to indicate killing the categories will leave the products orphans and can cause problems
can anyone clarify?

23 Jan 2010, 8:37 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: how can I clear the entire store?

One could install a test shop with no cats or products
Make a proper backup BUT only select ALL tables that have anything to do with categories, products, attributes
Apply this to whre you want it wiped
If there are customers and orders in this you will break things
https://www.zen-cart.com/tutorials/index.php?article=103