KonaKart Community Forum

Installation / Configuration => Configuration of KonaKart => Topic started by: ptgiang56 on February 06, 2016, 02:44:12 pm

Title: Reset database demo (KoanKart CE)
Post by: ptgiang56 on February 06, 2016, 02:44:12 pm
Hi everyone,
I have successfully installed the konakart with demo data (KonaKart CE). Now, I want to clear all data demo to create new store.
Please can anyone help me on this.
Title: Re: Reset database demo (KoanKart CE)
Post by: Brian on February 07, 2016, 10:38:30 am
There's a tool for resetting the database in the Enterprise version but not the Community Edition.

It wouldn't take you long to remove the products using the Admin Console.  A quick way to do this is by deleting manufacturers or categories and choosing to also remove all associated products.

A word of advice...  it's better to rename languages rather than delete and insert new ones.

Another possibility which would also be quiet simple would be to write a little Java utility that uses the KKAdminIf APIs to loop through all the products, manufacturers, categories etc and delete the ones you don't want.