Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Removing products through the database

Last modified by RoyRubin on Wed, October 3, 2007 13:58
Source|Old Revisions  

Removing products through the database

This should remove all the products and their related records.

  1. TRUNCATE TABLE `catalog_product_entity`;

Removing categories requires bit more actions.

  1. TRUNCATE TABLE `catalog_category_entity`;
  2. DELETE FROM `catalog_category_tree` WHERE `entity_id`<>1;

After that you will have to create root categories for your stores and assign them to stores in configuration:

admin menu / system / configuration / catalog - choose a store, choose Root Category.

Related Tags:  hackssqlproductsdatabase



 

Popular Wiki Tags  |  View all

 cron   installation   magento connect   CGI   diagram   tar   Lunarpages   schema   untar   wget   spelling   ssh   discounts   products   installing 

Professional Services from the Magento Team

Professional Installation from the Magento Team

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien    Privacy Policy|Terms of Service