Forums / Templates, Stylesheets, Page Layout / Disable A Category And Not Its Products

Disable A Category And Not Its Products

Locked

Started by ken_joy on 21 Jun 2008, 10:38 PM · Views: 1,282

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Jun 2008, 10:38 PM
#1
ken_joy avatar

ken_joy

New Zenner

Join Date:
May 2006
Posts:
62
Plugin Contributions:
0

Disable A Category And Not Its Products

Hi, I created a GIFTS FOR DAD category for father's day, and added products to it by linking to the category from existing products. I thought it would be simple to just disable the category, and enable it again next year, but in doing so, it also disables on the products in it, even though the products are linked to it and all have a different master category.

Is there a way to hide the category, but not disable the products? I don't want to have to go and unlink product by product. Is there a better way?

Thanks!
:smile:

22 Jun 2008, 4:17 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Disable A Category And Not Its Products

Disable the Category then go in to the Disabled category and enable the 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!

22 Jun 2008, 4:19 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Disable A Category And Not Its Products

Or, if too many ... you could use in the Tools ... Insert SQL Patches ...

UPDATE categories SET categories_status = 0 where categories_id = XX;

where XX is the categories_id to disable ...

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!