Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Manually Set Category ID

    Probably the easiest way for you to run those commands would be in youe Zen Cart admin > Tools > Install SQL Patches. Follow the directions there, or ask if you need more help.

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

    Default Re: Manually Set Category ID

    WARNING: if you manually deleted the categories table entries from phpMyAdmin vs using the Zen Cart Admin and deleting the Categories ...

    There are other tables that need to be addressed ...

    categories
    categories_description

    products
    products_description

    products_to_categories

    If you made any specials, featured, sales, manufacturers, meta tags, product discounts etc. etc. there are tables that held that information related to products that were in those categories ...

    This begs the question ... Is there anything about the store you need to keep?

    Have you designed the store?

    Have you customized settings in the Configuration Settings?

    Or, is all you did was work with a new install and play with categories, and not add any products, and cleaned out one table and was that categories table manually cleaned out or through the Zen Cart Admin interface?
    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. #13
    Join Date
    Sep 2008
    Location
    san diego, ca
    Posts
    30
    Plugin Contributions
    0

    Default Re: Manually Set Category ID

    Well, I did it!!!

    Thanks to you both. I did what Glenn said and used Ajeh's command of TRUNCATED TABLE categories; and executed. The zen_categories didn't work. The ID is now reset to 1!

    The answer to your questions Ajeh:
    I started to do some design work on the store but that's about it. As for the database nothing really except for Option Names and Values. I cleaned out the categories table by manually deleting categories but did it through ZC Admin.

    Thanks so much again!!! One problem down, more to go!

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

    Default Re: Manually Set Category ID

    Do review your database by listing all the tables and make sure that your tables for:
    categories
    categories_description

    products
    products_description

    products_to_categories

    Are all set to 0 records ...
    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!

  5. #15
    Join Date
    Sep 2008
    Location
    san diego, ca
    Posts
    30
    Plugin Contributions
    0

    Default Re: Manually Set Category ID

    Thanks much! Will do!

  6. #16
    Join Date
    Jan 2005
    Posts
    10
    Plugin Contributions
    0

    Default Re: Manually Set Category ID

    Quote Originally Posted by roadliner View Post
    Thanks for the quick response. I don't have any products at all since this is my first install and set up with ZC.

    Sorry for the newbie question but where do I find that PHP code and how do I run it?
    Since you have no products....read below
    If you used Fantastico to install Zen Cart you could use Fantastico to uninstall ZC then reinstall ZC. This would reset your entire database to be clean.

    If uninstalling with Fantastico is not an option then delete your MySQL database and optionally delete all of your Zen Cart folders and file. Then do a fresh install of ZC.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h manually set item with out of stock notice but not shut the item off?
    By djtrillian in forum General Questions
    Replies: 14
    Last Post: 21 Mar 2014, 06:56 PM
  2. Manually set site down
    By IntelCos in forum General Questions
    Replies: 10
    Last Post: 11 Jan 2009, 08:01 PM
  3. How to set a category folder as the default master category
    By april12345 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 1 Sep 2008, 10:33 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