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 17: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

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
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien