[Skip to main content](#vessel-content)

#   Want to select only some subcaegoris in a filter

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 2 months ago [\#123890](#123890) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Want to select only some subcaegoris in a filter](/forum/45-filters-search/862078-want-to-select-only-some-subcaegoris-in-a-filter#123890 "-- HikaShop version -- : 2.13 -- Joomla version -- : 2.5.4 -- PHP version -- : 5.3.x  Want to show only some subcategories in a filter, but when setting up the filter I can only choose a main category or one only subcategory, can't sum several subcategories by ID in a text box as some other filters do.  I'm talking about a single dropdown list filter.  SO THE PROBLEM is that my website shows all subcategories even those that are deactivated in the category list in the admin side.  I think if the categories are deactivated should not be available in a filter drop down list.")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 2.13
-- Joomla version -- : 2.5.4
-- PHP version -- : 5.3.x

Want to show only some subcategories in a filter, but when setting up the filter I can only choose a main category or one only subcategory, can't sum several subcategories by ID in a text box as some other filters do.

I'm talking about a single dropdown list filter.

SO THE PROBLEM is that my website shows all subcategories even those that are deactivated in the category list in the admin side.

I think if the categories are deactivated should not be available in a filter drop down list.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2MjA3OC13YW50LXRvLXNlbGVjdC1vbmx5LXNvbWUtc3ViY2FlZ29yaXMtaW4tYS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#123929](#123929) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Want to select only some subcaegoris in a filter](/forum/45-filters-search/862078-want-to-select-only-some-subcaegoris-in-a-filter#123929 "-- HikaShop version -- : 2.13 -- Joomla version -- : 2.5.4 -- PHP version -- : 5.3.x  Want to show only some subcategories in a filter, but when setting up the filter I can only choose a main category or one only subcategory, can't sum several subcategories by ID in a text box as some other filters do.  I'm talking about a single dropdown list filter.  SO THE PROBLEM is that my website shows all subcategories even those that are deactivated in the category list in the admin side.  I think if the categories are deactivated should not be available in a filter drop down list.")*

Hi,

We let it displayed because a disabled category can potentially be used to list it's subcategories, but must not be displayed in another category listing.

What could be done is display the status of the category when we select the category in the backend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2MjA3OC13YW50LXRvLXNlbGVjdC1vbmx5LXNvbWUtc3ViY2FlZ29yaXMtaW4tYS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 2 months ago [\#123931](#123931) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Want to select only some subcaegoris in a filter](/forum/45-filters-search/862078-want-to-select-only-some-subcaegoris-in-a-filter#123931 "-- HikaShop version -- : 2.13 -- Joomla version -- : 2.5.4 -- PHP version -- : 5.3.x  Want to show only some subcategories in a filter, but when setting up the filter I can only choose a main category or one only subcategory, can't sum several subcategories by ID in a text box as some other filters do.  I'm talking about a single dropdown list filter.  SO THE PROBLEM is that my website shows all subcategories even those that are deactivated in the category list in the admin side.  I think if the categories are deactivated should not be available in a filter drop down list.")*

> What could be done is display the status of the category when we select the category in the backend.

Sorry, I cannot ger the sense of this sentence, could you explain in another way? I already unpublished the categories in the admin side but the show active in the filter list. In the filter setting I see no selectable choice to put unpublisehd elements on gray mode.

I think I didn't get the sense of your help.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2MjA3OC13YW50LXRvLXNlbGVjdC1vbmx5LXNvbWUtc3ViY2FlZ29yaXMtaW4tYS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#124054](#124054) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Want to select only some subcaegoris in a filter](/forum/45-filters-search/862078-want-to-select-only-some-subcaegoris-in-a-filter#124054 "-- HikaShop version -- : 2.13 -- Joomla version -- : 2.5.4 -- PHP version -- : 5.3.x  Want to show only some subcategories in a filter, but when setting up the filter I can only choose a main category or one only subcategory, can't sum several subcategories by ID in a text box as some other filters do.  I'm talking about a single dropdown list filter.  SO THE PROBLEM is that my website shows all subcategories even those that are deactivated in the category list in the admin side.  I think if the categories are deactivated should not be available in a filter drop down list.")*

I was telling that displaying the status of the category (published/unpublished) in the filter setting can be the solution.
It could be easiest to see which category is unpublished or not. But this is actually not implemented.
It will require some custom code.

The following user(s) said Thank You: [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2MjA3OC13YW50LXRvLXNlbGVjdC1vbmx5LXNvbWUtc3ViY2FlZ29yaXMtaW4tYS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 2 months ago [\#124058](#124058) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Want to select only some subcaegoris in a filter](/forum/45-filters-search/862078-want-to-select-only-some-subcaegoris-in-a-filter#124058 "-- HikaShop version -- : 2.13 -- Joomla version -- : 2.5.4 -- PHP version -- : 5.3.x  Want to show only some subcategories in a filter, but when setting up the filter I can only choose a main category or one only subcategory, can't sum several subcategories by ID in a text box as some other filters do.  I'm talking about a single dropdown list filter.  SO THE PROBLEM is that my website shows all subcategories even those that are deactivated in the category list in the admin side.  I think if the categories are deactivated should not be available in a filter drop down list.")*

Ok, thank you, now I understand, so the solution is a suggestion but not a real solution.

Take as a suggestion that it would be a good feature to be able to block those non published or the empty categories from filters, it brings confusion to users and in certain circumstance scan provoke really long lists.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg2MjA3OC13YW50LXRvLXNlbGVjdC1vbmx5LXNvbWUtc3ViY2FlZ29yaXMtaW4tYS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
