Deleting All Products

I want to delete all products - is there a faster way than deleting "all" from the Products page?

Since page can only display 10, 25, 50, 100, 250 items per page, it takes a long time to delete all items when the products number is very large (12,000).

Also, deleting all when displaying 250 products per page does not work - it kicks you out to dashboard and results in error message "error access denied: possible CSRF attack".

Max deletion is using 100 products displayed per page.....

Thank you

Adrian

Delete categories!

After you erase all categories, all products that are assigned to them will be moved to trash category.

Then, delete trash category.

If you want to keep categories, use the following solution

https://forum.cs-cart.com/topic/30162-deleting-all-products-but-not-categories/#entry154649

Thank you very much.

Deleting categories will work, since the next importation will rebuild what is desired,

Thanks again,

Adrian

Hi,

How about the images related to the products/categories; are they going to be deleted from the storage when we delete products/categories?

Thanks

The image files will not be deleted. However, the image references to them in the database will be.

The image files will not be deleted. However, the image references to them in the database will be.

You are not right, files will be also deleted. Please check the fn_delete_image function

Files created that are related to objects are deleted, but source files (I.e. var/.... or other server locations) are not.

Files created that are related to objects are deleted, but source files (I.e. var/.... or other server locations) are not.

Looks like you mean import/ export feature? In this case yes, files will not be deleted

I have a little bug happening when I delete all categories to delete all products.

Unless you also delete the trash file that is created, a few of the deleted products still exist in the store when you import a new products file.

But that is solved by deleting the trash category that is created when you delete all categories.

Maybe a small bug?

Adrian