Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to clear products database?


Guest

Recommended Posts

I have got Easy Populate working now, but I am wondering if there is an "Easy Unpopulate"? What is the easiest safe way to clear the database of all products and categories?

 

 

Thanks,

Chris

Link to comment
Share on other sites

To be honest, if this is a test database, it would be quicker making backup scripts of the tables you want to keep, reinstall the entire database, then restore the tables you saved.

 

Otherwise, you are going to have to not only delete prods, cats, but data from every table which links to them, eg customers_basket, orders_products, reviews, products_notifications etc.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...