Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2012
    Location
    Calgary, Canada
    Posts
    2
    Plugin Contributions
    0

    Default Deleted All Categories - How to create a new one?

    New install v 1.5

    I'm going for rookie of the year here. Hoping I don't win it multiple years.
    I sell a single product with accessories. didn't think a needed categories so deleted them all. Now getting error message on my product page:

    "WARNING: You have Products in the Top Level Category. This will cause pricing to not work properly in the Catalog. Products found: 1.

    Been all through the FAQ's, the forums but . . .

    Any ideas?

    Thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Deleted All Categories - How to create a new one?

    The Warning is due to having a Product in the Top Level, or if you had Categories with both Categories and Products in it ...

    Categories hold either Products or Categories, but never both ...

    To fix this, go to the Tools ... Install SQL Patches ... and run this:
    Code:
    UPDATE products_to_categories SET categories_id = 1;
    this will make your Product "disappear" for a few minutes ...

    Now, go to Catalog ... Categories/Products ...

    you should now see the NEW CATEGORIES button ... and no Warning message ...

    Next, add a New Category ...

    When done, go into that Category ...

    If you see your Product(s) then you are done ...

    If you do NOT see your Product(s), look in the URL and see what the cPath says, such as:
    cPath=2

    Using the number you see, go to the Tools ... Install SQL Patches ... and re-run the command with following change:

    Code:
    UPDATE products_to_categories SET categories_id = 2;
    where 2 is the number you saw on the:
    cPath=2

    in your URL on your browser ...

    Now, go to Catalog ... Categories/Products ... and you should now see your Product(s) ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Aug 2012
    Location
    Calgary, Canada
    Posts
    2
    Plugin Contributions
    0

    Default Re: Deleted All Categories - How to create a new one?

    Worked like a charm! Product appeared without the need for step 2. Thank you for your quick response!
    If you provide Zen consulting on a fee for service basis perhaps you can help me a few other things I'm trying to achieve?
    You may contact me at sales@swingjacket.com
    Thanks again! You've saved me a ton of time.
    Bill

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Deleted All Categories - How to create a new one?

    Thanks for the update that this worked for you ...

    There is always our Free Zen Cart forums for questions that you might have ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. How to change Template / create a new one ?
    By psvialli in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Mar 2012, 08:03 PM
  2. How to change product ID for new created product to the one that was deleted?
    By newproduct4you in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 7 Apr 2010, 06:16 PM
  3. Replies: 0
    Last Post: 11 Nov 2009, 02:16 AM
  4. Replies: 1
    Last Post: 30 Nov 2007, 05:05 PM

Bookmarks

Posting Permissions

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