Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    help question Delete a categrory from database

    Hi,

    I wanted to delete a category, but I forgot to delete it from the admin page. What I did is I simply delete the category from the category table in mysql database. Actually there are a lot more tables have this category information. How can I delete all the rows which related to this category? Can somebody help me? It's urgent! Thanks a lot!!!

  2. #2
    Join Date
    Nov 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Delete a categrory from database

    The category_id appears in tables categories, categories_descriptions, products_to_categories and possibly meta_tags_categories_description.

    If you can determine the deleted categories_id (perhaps from one of the other tables) it might be easier to restore the categories_id, parent_id, and categories_status = 1 in table categories, and then delete it properly from Admin > Catalog > Categories/Products.

 

 

Similar Threads

  1. Replies: 6
    Last Post: 22 Dec 2016, 05:49 AM
  2. Delete CVV from database
    By lynbor in forum Managing Customers and Orders
    Replies: 5
    Last Post: 9 Aug 2010, 05:31 PM
  3. Products Won't Delete From Database
    By TesterServers in forum General Questions
    Replies: 1
    Last Post: 6 Dec 2009, 01:39 AM
  4. One delete button to delete all checked items from cart
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jul 2007, 04:41 AM
  5. Delete All from Database
    By jojohi in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 18 Sep 2006, 04:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg