how to clear smaple data?

Is there an easy way to hit the reset button on the catalog? I want to start from scratch?

Do you have shell access to your server? I have a shell script that I could send you.

I do not have shell access. Thanks for the offer.


Dear Osu9400,



Unfortunately, CS-Cart doesn’t have any resert buttons. You can either clear defined tables from database or create .sql file and restore it via admin panel. For example, file for clearing categories .sql file content will look like this way:



TRUNCATE TABLE cscart_categories;

TRUNCATE TABLE cscart_category_descriptions;

TRUNCATE TABLE cscart_products_categories;



If you need code to clear any other datas, let me know, I’ll send you as .sql file should look like.