ENHANCEMENT: Visibility attribute for Categories

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 years ago
Seasonally, there are certain categories that I would like to hide/show, however, I always want to keep them 'Published' so that they don't lose the SEO juice they've gained.

For example, when I just set our "St. Patrick's Day" category to published = false, it wouldn't allow us to visit the category page anymore. I believe there should be an additional Visibility option that simply keeps the category from showing up on the category menu, but still leaves the category page intact for SEO purposes.

This should be pretty easy/fast to implement.
11 years ago
Thanks for suggestion. But I think it'll make nopCommerce just a bit more complex and bloated. You'll have to customize the solution to achieve it
11 years ago
Threadrock wrote:
Seasonally, there are certain categories that I would like to hide/show, however, I always want to keep them 'Published' so that they don't lose the SEO juice they've gained.

For example, when I just set our "St. Patrick's Day" category to published = false, it wouldn't allow us to visit the category page anymore. I believe there should be an additional Visibility option that simply keeps the category from showing up on the category menu, but still leaves the category page intact for SEO purposes.

This should be pretty easy/fast to implement.


You can use category templates and some code modifications detailed here to achieve the same results.

Essentially you could either have a 'not in menu category template' and swap the template used by a category or you can have 'seasonal' templates and alter which category templates are included within menu by adding their id's to categorynavigationallowedtemplateids.

HTH
11 years ago
a.m. wrote:
Thanks for suggestion. But I think it'll make nopCommerce just a bit more complex and bloated. You'll have to customize the solution to achieve it



I really don't believe that adding one extra attribute to customize Categories and control their visibility is complex or bloating. People like to have full control over these types of things without having to go through crazy over-complicated work arounds. I could easily add this attribute to our project, but I really think others would find this very useful.


Thanks Dave, I'll definitely take a look at your suggestion as well!
11 years ago
@Threadrock

I agree.

I've found several occasions where such a feature would have been useful - put simply, all that's required is an extra checkbox on the category edit page with an option

'display in main category menu'      []
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.