Forums / Setting Up Categories, Products, Attributes / What's the easiest way to delete all sample data?

What's the easiest way to delete all sample data?

Locked

Views: 1,183

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
1 Sep 2009, 1:39 PM
#1
amida avatar

amida

New Zenner

Join Date:
Sep 2009
Posts:
1
Plugin Contributions:
0

What's the easiest way to delete all sample data?

I am using the latest version of ZC but cant seem to find a way to delete the sample data.

I started to delete some category details but non will go as they seem to be linked to something.

So the best would be to delete all sample data, but how?

ps. I am just a basic user.

Thanks

David

1 Sep 2009, 5:40 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: What's the easiest way to delete all sample data?

Doing a fresh clean install is the easiest way: just don't select to install the demo data. That will wipe out everything, and you can start from scratch without any demo products/attributes/etc.

Or you can manually delete each category from the Admin->Catalog->Categories/Products page. Deleting a category deletes all products inside it.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Sep 2009, 7:04 PM
#3
dropbop avatar

dropbop

Zen Follower

Join Date:
Apr 2008
Location:
Athlone, Ireland
Posts:
177
Plugin Contributions:
1

Re: What's the easiest way to delete all sample data?

If you have Easy Populate installed -

Download a csv file using the easy populate module. then open it in Excel and change everything under the header 'v_status' from 1 to 9 and save the file.

Then import it again using Easy Populate and all will be deleted in a split second.