Results 1 to 10 of 17

Hybrid View

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

    Default Re: new category button missing....

    How many Products do you have added?

    If you have a number of them and don't want to delete them, then I can work out a fix for you ...

    If you only have 1 Product, delete it ... and start over and you will see both the New Product and the New Category buttons ...
    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!

  2. #2
    Join Date
    Dec 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: new category button missing....

    Quote Originally Posted by Ajeh View Post
    How many Products do you have added?

    If you have a number of them and don't want to delete them, then I can work out a fix for you ...

    If you only have 1 Product, delete it ... and start over and you will see both the New Product and the New Category buttons ...
    I will need that fix...
    I searched the forum for hours but can't find the solution.
    I have way too many items and stuff to start from scratch..that would take me days. Can you point me to a solution. Thank you very much!!!
    Philippe

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

    Default Re: new category button missing....

    You can do this by setting the categories_id for each product in the products_to_categories table from 0 to categories_id 1 ...

    First, backup your database ...

    Next, this will change all Products from being in the Top Level Category of categories_id 0 to categories_id 1 ...

    Then run the following in the Tools ... Install SQL Patches ...

    Code:
    UPDATE products_to_categories SET categories_id = 1 where categories_id = 0;
    Next, go to the Catalog ... Categories/Products ... and you should be able to click the NEW CATEGORY button ...

    Create a Category and when done, all Products should end up in this new Category ... if not, check what categories_id your new Category is and this can be updated on the products_to_categories table after a couple or three additional questions, should this problem arise ... otherwise, you should be set now and can build your Categories and move your Products around to proper Categories ...
    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!

  4. #4
    Join Date
    Dec 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: new category button missing....

    Thank you very much.
    I'm backing up everything right away to try it.
    thank you
    p

  5. #5
    Join Date
    Dec 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: new category button missing....

    for some odd reason I can't download and change persmissions for a file located in cache/sess_749c1b029b5626daa4731d84a2d5a6d9
    Do you know why. It stops me from being able to back up my db.
    p

  6. #6
    Join Date
    Dec 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: new category button missing....

    Pardon my ignorace but, where can I find this products_to_categories table?? I've been searching for this for a long time.
    thank you

    Quote Originally Posted by Ajeh View Post
    You can do this by setting the categories_id for each product in the products_to_categories table from 0 to categories_id 1 ...

    First, backup your database ...

    Next, this will change all Products from being in the Top Level Category of categories_id 0 to categories_id 1 ...

    Then run the following in the Tools ... Install SQL Patches ...

    Code:
    UPDATE products_to_categories SET categories_id = 1 where categories_id = 0;
    Next, go to the Catalog ... Categories/Products ... and you should be able to click the NEW CATEGORY button ...

    Create a Category and when done, all Products should end up in this new Category ... if not, check what categories_id your new Category is and this can be updated on the products_to_categories table after a couple or three additional questions, should this problem arise ... otherwise, you should be set now and can build your Categories and move your Products around to proper Categories ...

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

    Default Re: new category button missing....

    The products_to_categories table is in your database ...

    You can visually see it with phpMyAdmin from your Control Panel for your domain ...

    The command I gave you just issues the command to take all of the products that are assigned to the categories_id 0 and set them all to categories_id 1 so that when you make your first Category and it is assigned the categories_id 1 all of the Products will be associated with it so you can Move them to new Categories that you will be able to create ...
    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!

  8. #8
    Join Date
    Dec 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: new category button missing....

    Thank you very much.
    I found the php file but I don't know where to make those changes. So I guess I'll delete every files and start all over again. It seemed not to be too complicated but I'm not familiar with php so I don't want to mess things up.
    thank you for your time.
    philippe

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

    Default Re: new category button missing....

    All you have to do is go to your Zen Cart Admin and click on the TOOLS ... INSTALL SQL PATCHES ... and in the box enter:
    Code:
    UPDATE products_to_categories SET categories_id = 1 where categories_id = 0;
    And then go back to Catalog ... Categories/Products ... and click on the NEW CATEGORY button that should now be show and ADD you first Category which should end up as categories_id and when you SAVE that new first Category all of your Products will "magically" appear in that new Category ...

    Now, you can make your Categories and MOVE these Products to the right Category without having to delete them all and remake each one of them ...

    If you don't care about deleting each Product that you already made, then delete each one ... otherwise, run that command after backing up your database ...
    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. missing category button
    By poorhouse in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 19 May 2010, 03:11 AM
  2. Missing "New Category" Button
    By carlandbeth in forum General Questions
    Replies: 2
    Last Post: 17 Mar 2008, 05:28 PM
  3. Category Button Missing
    By cigarguytim in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 11 Jul 2007, 03:59 AM
  4. Missing "New Category Button"
    By mrbt in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 11 Mar 2007, 05:21 PM
  5. Missing "new category" Button
    By daveky in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 Sep 2006, 02:44 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