Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Location
    Decatur, Illinois
    Posts
    2
    Plugin Contributions
    0

    Default Category Mistake

    I made a huge mistake of entering all of a companies inventory into the Master category. Is there anyway of copying the master categories database, then deleting the contents of the master category and creating subcategories and pasting the database in one of the new subcagtegories?

    All help is greatly appreciated,
    -Patrick

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Category Mistake

    Do you mean you added Products immediately when you went to Catalog ... Category/Products?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jun 2006
    Location
    Decatur, Illinois
    Posts
    2
    Plugin Contributions
    0

    Default Re: Category Mistake

    Yes. I started to add products as soon as I opened the catalog. Without catagories.
    Any suggestions?

    All help is greatly appriciated,
    -Patrick

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Category Mistake

    You could manually add a category, category_description and change the products_to_categories table from categories_id 0 to match the value you manually added via phpMyAdmin ...

    Backup your database before attempting this ...

    PHP Code:
    INSERT INTO `categories` ( `categories_id` , `categories_image` , `parent_id` , `sort_order` , `date_added` , `last_modified` , `categories_status` )
    VALUES (
    1NULL '0'NULL NULL NULL '1'
    );

     
    INSERT INTO `categories_description` ( `categories_id` , `language_id` , `categories_name` , `categories_description` )
    VALUES (
    '1''1''TEMPORARY'''
    );

    UPDATE products_to_categories set categories_id=1

    Then go to the Tools ... Store Manager ... and run the Update Master Categories ID ...

    Then run the Update Products Price Sorter ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v139h Category deleted by mistake
    By devlin in forum General Questions
    Replies: 5
    Last Post: 30 Aug 2012, 04:23 PM
  2. A silly Mistake...!
    By vishalon in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Feb 2010, 06:58 AM
  3. overwritten by mistake
    By g_force in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Mar 2009, 04:28 AM
  4. Stupid mistake
    By soba in forum General Questions
    Replies: 4
    Last Post: 2 May 2008, 10:15 PM
  5. Overwrite by mistake
    By redche in forum General Questions
    Replies: 0
    Last Post: 9 Aug 2007, 06:53 PM

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