Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2008
    Posts
    17
    Plugin Contributions
    0

    Default Disable/Hide Category and not the products

    I want to disable / hide category and not the products.

    Let's say I sell flowers
    Categories are 40 colors, red, blue, etc.

    But I also sell clay pots but I don't want it listed on the same Nav. I want to disable it but NOT the products.

    cause I want to make a ezpage, and link to it.

    Plus if the categories nav is call "flower by colors" it wouldn't make sense to put clay pot in there.

    Anyways, I tried to click on the green button to disable the category but it will disable its products too.

    Any other ways i could do that?

  2. #2
    Join Date
    Nov 2008
    Location
    Pacific Northwest
    Posts
    40
    Plugin Contributions
    0

    Default Re: Disable/Hide Category and not the products

    Have you tried disableing the category, but then re-enabling each product individualy? I THINK that would hide it from the menu, but still allow you to link to each product. Just take note of the URLs you'll need before disabling the category.

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

    Default Re: Disable/Hide Category and not the products

    You could also run a quick SQL command in the Tools ... Install SQL Patches ...

    Code:
    UPDATE categories SET categories_status = 0 where categories_id = XX;
    where XX is the categories_id you want to set to disabled ...
    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 ...

  4. #4
    Join Date
    Feb 2010
    Location
    Australia
    Posts
    5
    Plugin Contributions
    0

    Default Re: Disable/Hide Category and not the products

    GREAT!! Thanks Ajeh, that worked a dream! So, anyone else needing the same thing, use:
    UPDATE categories SET categories_status = 0 where categories_id = XX;
    as recommended by Ajeh!!

    Just one point... I'm no wizz in databases, so how do I RE-ENABLE should I want to?

    Thanks.

  5. #5
    Join Date
    Mar 2010
    Location
    UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Disable/Hide Category and not the products

    I assume that
    Code:
    UPDATE categories SET categories_status = 1 where categories_id = XX;
    would do it.

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

    Default Re: Disable/Hide Category and not the products

    That should work for you ... test it out and see ...
    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 ...

  7. #7
    Join Date
    May 2009
    Location
    Kansas
    Posts
    40
    Plugin Contributions
    0

    Idea or Suggestion Re: Disable/Hide Category and not the products

    Thanks for your advice on this thread!

    Another way to do it is this:
    Create a new category titled "HIDE", deactivate it, then create whatever active categories you want inside of it as subcategories.

    ...which is pretty much what Ajeh said but you'd use the cool little red and green buttons instead of the sql.

  8. #8
    Join Date
    Oct 2010
    Location
    Australia
    Posts
    4
    Plugin Contributions
    0

    Default Re: Disable/Hide Category and not the products

    Quote Originally Posted by Ells View Post
    Have you tried disableing the category, but then re-enabling each product individualy? I THINK that would hide it from the menu, but still allow you to link to each product. Just take note of the URLs you'll need before disabling the category.
    Awesome! Just what I need! Didn't realise that was possible.

    Cheers!

  9. #9
    Join Date
    Jan 2011
    Posts
    2
    Plugin Contributions
    0

    Idea or Suggestion Re: Disable/Hide Category and not the products

    Cool, it worked fine, thanks buddy!

 

 

Similar Threads

  1. Disable A Category And Not Its Products
    By Ken Joy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jun 2008, 05:19 AM
  2. Hide "There are no products to list in this category"
    By DocRocks in forum General Questions
    Replies: 5
    Last Post: 30 Apr 2008, 02:13 PM
  3. Links to header images + Hide categories + disable reg and keep cart
    By Mad_Griffith in forum Templates, Stylesheets, Page Layout
    Replies: 31
    Last Post: 2 Jan 2008, 11:17 PM
  4. Replies: 3
    Last Post: 6 Dec 2007, 01:00 PM
  5. disable "There are no products to list in this category"
    By animike in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Oct 2007, 09:12 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
  •