Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Emptying Products table


Aceicol

Recommended Posts

Hi

 

I have copied one of our sites over to another site (we would like all the same features) and I have also copied over the database so that things such as affiliates worked correctly.

 

However I would like to know how to delete all the products from the db. Also the Customers and order's from the previous db.

 

Thanks in Advance.

Ace

Link to comment
Share on other sites

We access Mysql admin use the 'empty table' option on the main & related tables. Its not advised but it works - mainly because the way OSC is put together.

 

Over to the DB experts..

Citizen of US Minor Outlying Islands

Link to comment
Share on other sites

Its not advised but it works

Won't hurt as long as you delete all references in all tables. i.e. Don't delete an Order ID from 'orders' and leave the same ID in 'orers_totals.' ;) Just empty all orders tables, customer tables, and product tables in MyPHPAdmin. Will take all of 2 seconds. :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...