osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Mass deleting products and catagories,.. and other questions

This is a discussion on Mass deleting products and catagories,.. and other questions within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; In the test fase I have installed a lot of products and I want to delete them all. All the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-17-2003, 05:22 AM
Lurker
 
Join Date: Apr 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
taos
Default Mass deleting products and catagories,.. and other questions

In the test fase I have installed a lot of products and I want to delete them all.

All the products with a manufacturer are deleted by deleting the manufacturer. How can I delete the products without a manufacturer ?

To populate the database...
Easypopulate works but not on a 5 MB CVS file with >17500 lines

Someone in the forum wrote about a pdf of the complete DB structure. Where can I find this pdf file?

Thanks in advance,
Maurice Lucas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 04-17-2003, 10:48 AM
Lurker
 
Join Date: Apr 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kirk6677
Default

you can go to a dos or unix promt and type the folowing and press enter after each line.

mysql

use database (database being the name of the database you are using)

delete from customers;

this will delete everything in the customers table and leave the structure untouched.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-17-2003, 10:36 PM
Lurker
 
Join Date: Apr 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
taos
Default

Quote:
Originally Posted by kirk6677
you can go to a dos or unix promt and type the folowing and press enter after each line.

mysql

use database (database being the name of the database you are using)

delete from customers;

this will delete everything in the customers table and leave the structure untouched.
I don't have a ssh account so no unix prompt but phpmyadmin will do the trick.

Thanks,
Maurice Lucas
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-22-2003, 02:41 AM
Member
 
Join Date: Dec 2002
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
doug
Default

The pdf is called tep_database-pr2.2-CVS.pdf and is in the root where you installed OSC.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Possible Bug with SEO URL's? Adding and Deleting Products groggory osCMax v2 Features Discussion 3 01-29-2006 07:51 PM
catagories & products HELP!!! krystaleyes osCMax v2 Installation issues 0 11-11-2005 12:44 PM
2 questions (STMP & text field under New products) dunik osCommerce 2.2 Modification Help 2 03-25-2005 04:30 AM
no 'new products' displayed in 'sub-catagories'? killermonkey osCommerce 2.2 Installation Help 4 02-15-2003 11:00 AM
deleting RHS of header starchild osCommerce 2.2 Modification Help 2 12-09-2002 06:47 PM


All times are GMT -8. The time now is 07:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax