Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove all products


digi

Recommended Posts

Posted

I have a oscommerce shop that has about 12,000 products in it,

 

how do I drop all products? and there releated tables in mysql?

 

 

digi

*Outlined in chalk everone looks the same*

 

Currently useing OSC 2.2 MS1

running on Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 mod_perl/1.26 PHP/4.3.3 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b

Posted

If you really want to kill the whole store, go to databse manager and empty every database. Will take about 10 mins (20 for a heavily modded store) and leave you with a blank canvas and an intact store to rebuild. If you want to start from scratch, click drop instead of empty, then reinstall from basic oscommerce download file.

 

hth! :huh:

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted

Hey thanks tony, I was hopeing I didnt have to go through that route...

 

I created a sql script that will do this automatic, I will post in contributions soon.

 

 

digi

*Outlined in chalk everone looks the same*

 

Currently useing OSC 2.2 MS1

running on Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_jk/1.2.0 mod_perl/1.26 PHP/4.3.3 FrontPage/5.0.2 mod_ssl/2.8.12 OpenSSL/0.9.6b

Posted

Hey Digi,

I'm too late but there's simple script you can run also... Looks like you already figured it out. It would be a great contrib.

-=neo=-

The problem with winning the rat race is at the end you're still a rat.

Posted
If you really want to kill the whole store, go to databse manager and empty every database. Will take about 10 mins (20 for a heavily modded store) and leave you with a blank canvas and an intact store to rebuild. If you want to start from scratch, click drop instead of empty, then reinstall from basic oscommerce download file.

 

hth! :huh:

or one could use phpMyAdmin and it will take 1/2 a second.

Archived

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

×
×
  • Create New...