Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Delete all products with one click


Recommended Posts

Hello there,


I've made a .sql file with the following code


TRUNCATE `products`;

TRUNCATE `products_description`;

TRUNCATE `products_to_categories`;


Wich deletes all products in my DB. I've also installed the RunSql ( http://www.oscommerce.com/community/contri...l/search,runsql ) contribution.


But when I run it with the file i've created, it says that it's connected to my database but it doesn't delete the products.

Is something missing on the code?

Thanx in advance

"Dreams are the pilar of reality, stop dreaming and you'll exist no more"

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...