Zen Cart Logo
Forums / Bug Reports / [Not a bug] Disabled category with enabled products (1.3.8a)

[Not a bug] Disabled category with enabled products (1.3.8a)

Locked

Views: 1,985

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
17 Jul 2009, 3:16 PM
#1
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

[Not a bug] Disabled category with enabled products (1.3.8a)

Just noticed that I can still access a category that's disabled if it contains products that are enabled.

As expected, the category does not appear in the categories sidebox. However, I can easily hack the URL (or load up a bookmark) to view the category page.

Is this the correct behaviour?

Many thanks,

Alex

18 Jul 2009, 12:11 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: [Not a bug] Disabled category with enabled products (1.3.8a)

Alex Clarke:

Just noticed that I can still access a category that's disabled if it contains products that are enabled.

As expected, the category does not appear in the categories sidebox. However, I can easily hack the URL (or load up a bookmark) to view the category page.

Is this the correct behaviour?

Many thanks,

Alex

I hope so, please DON'T change it Admins

It will still only display products that are enabled.
If you bookmark a disabled product that product won't show.

I actually use this "feature" all the time
Mainly with upcoming new categories and products.

I can directly access and view and check them before enabling them all at once when required.
The public never see them as the category has never been publicly available before, and therefore cannot have been bookmarked.

20 Jul 2009, 10:14 AM
#3
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: [Not a bug] Disabled category with enabled products (1.3.8a)

I agree that it's handy to have access to these products (while preventing the category from being listed), but surely you shouldn't be able to jump back (using the breadcrumbs for example) and view an entire category that's disabled?

20 Jul 2009, 2:37 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: [Not a bug] Disabled category with enabled products (1.3.8a)

There are a number of reasons why people use the Disabled Category with active products ...

As such there is no single great solution ...

To change how you need to use the Disabled Category with active Products you need to customize the code for your own purposes ...

20 Jul 2009, 4:28 PM
#5
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: [Not a bug] Disabled category with enabled products (1.3.8a)

Ajeh:

There are a number of reasons why people use the Disabled Category with active products ...

As such there is no single great solution ...

To change how you need to use the Disabled Category with active Products you need to customize the code for your own purposes ...

So this is not a bug then?

20 Jul 2009, 5:09 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: [Not a bug] Disabled category with enabled products (1.3.8a)

This is not a bug ...

21 Jul 2009, 4:38 AM
#7
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: [Not a bug] Disabled category with enabled products (1.3.8a)

Ajeh:

This is not a bug ...

Then all is good in the world of Zen Cart! :smile:

Thanks for clearing this up.

Regards,

Alex