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

#   Please Add More Sub-categories to Module

##

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 4 days ago [\#131614](#131614) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#131614 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")* was created by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")*

I have read many post requesting for more sub-categories added to the "Categories on 2 levels" module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many sub-categories - so this would be very beneficial and you would make a lot of us very happy - I mean more happy ![:)](/media/kunena/emoticons/3.png ":)") ![:)](/media/kunena/emoticons/3.png ":)")

Thanks!!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 4 days ago [\#131623](#131623) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#131623 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Thank you for your feedback. We don't plan on doing it on the short term as there are already several solutions for that (other accordion modules for hikashop or normal joomla menu modules).

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

13 years 4 days ago [\#131629](#131629) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#131629 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

OK ![:(](/media/kunena/emoticons/22.png ":(")

From your professional experience which module(s) would you recommend to use to do this?

Thanks!!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 4 days ago [\#131632](#131632) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#131632 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

I would recommend this one:
[ extensions.joomla.org/extensions/extensi...hop-extensions/21225](http://extensions.joomla.org/extensions/extension-specific/hikashop-extensions/21225)

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135627](#135627) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135627 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Thank you!!

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135631](#135631) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135631 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

I am using the menu you suggested but have a little issue now that it can drill down to more sub-categories and I am not sure how to get rid of.

I have the main category "Women" then in that category I have a sub-category "Shoes" and in that sub-category I have some sub-categories.

When I click on the sub-category "Shoes" all the sub-categories are showing above the products and I don't want that. How can I prevent that please?

Thank you!!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

12 years 11 months ago [\#135676](#135676) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135676 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

I guess that you should direct to a products listing menu item instead of a categories listing menu in your module in such case. But I don't know if it's possible and if so how. You should ask the support of the module you purchased as they know their module better than us.

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135811](#135811) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135811 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

I am thinking that this doesn't have anything to do with "Skyline Nested Accordion For HikaShop" module because the menu that I am using, I use two different menus, is not theirs.

The menu I created is a Joomla menu type "HikaShop » Categories listing".

When I click on the main category, for example, "Women", it shows the sub-categories of that category which is what I want. But if I click on any of the sub-categories it shows the subcategories above the listing.

If you take a quick peak you will get a better understanding of what I am trying to explain. It is the horizontal menu at the top.

I sent the URL privately. Thank you!!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

12 years 11 months ago [\#135813](#135813) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135813 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

I don't see the problem with your display. It's normal that you see the sub categories there since there are sub categories.
If you want a products listing, then use a products listing menu item and when you click on your top links you'll only get a listing of the products in these top categories.

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135814](#135814) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135814 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

So are you saying that because the main menu, eg: clothing, is a "Categories listing" type, that means anything below that will be categories listing?

I was hoping that the main categories (Clothing, Shoes, Handbags &amp; Wallets ) would be "categories listing" and the sub-categories would just show the products...

As you can see it doesn't look good with all the subcategories at the top as they are so many ![:(](/media/kunena/emoticons/22.png ":(")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

12 years 11 months ago [\#135816](#135816) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135816 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

That's indeed the case. It's a category listing, so it's displaying the categories (and of course the products too).
That's how everyone else expect the categories listings to work in fact. It would be strange to not be able to display additional levels of categories at all.

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135973](#135973) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135973 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

I understand where you are coming from but I guess some senarios may require something different. I am not sure if you took a look at the page but I think the subcategories at the top in this case is not necessary especially because I already have them on the right - so this is the reason for wanting to remove them.

I was hoping that the subcategories would have a different CLASS as you drill down but they use the same class.

.hikashop_subcategories_listing
.hikashop_subcategories

Is there a way that I can give them a different class and which file would I make the change in if it's possible? My goal is to try and hide the sub-categories on the 2nd level as per my previous post.

Thank you in advance!!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

12 years 11 months ago [\#135975](#135975) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135975 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

The CSS classes and ids will be the same regardless of the level of the categories you're displaying.
It you would like to remove their display based on the level you're in, it would require to customize the file "listing_div" of the view "category" via the menu Display-&gt;Views.

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135979](#135979) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135979 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Ok... if it's not too much trouble or too much work can you give me a hand :pinch:

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

12 years 11 months ago [\#135982](#135982) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135982 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Something like that: Code:

&lt;?php if($_GET['cid']==18) return; ?&gt;

so if the current category has the id 18, we skip the display of the category listing.

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#135986](#135986) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#135986 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

> ... if the current category has the id 18, we skip the display of the category listing.
> &lt;?php if($\_GET==18) return; ?&gt;

I went to Display &gt; Views &gt; Category &gt; listing_div

I add the code below and the ID for the category "Clothing" which is (17) but all the sub-categories are still showing.
Code:

&lt;?php if($_GET['cid']==17) return; ?&gt;

I may have totally misunderstood you.

Thanks!!

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 11 months ago [\#136052](#136052) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#136052 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Hi,
Did you add it at the beginning of the "listing_div" file of the "category" view of your front-template ? Also, note that your shoes ID is 18, so as Nicolas said, you should add this code at the beginning of your "listing_div" file : Code:

&lt;?php if($_GET['cid']==18) return; ?&gt;

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#136057](#136057) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#136057 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Hi,

I didn't realize that I needed to put it at the very top of the file. I moved it to the top and it worked.

I have several categories that I want to hide though how can I add the other categories to the code? For example, I want to hide the sub-categories in Clothing (ID 17), Shoes (ID 18), and Handbags (ID 19).
Code:

&lt;?php if($_GET['cid']==18) return; ?&gt;

Thank you very much!

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

12 years 11 months ago [\#136136](#136136) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#136136 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Then add several times that code, once for each category.

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

- **[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")**
- [![MyWorld's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/862-myworld "View MyWorld's Profile") Topic Author
- [ Offline](/forum/user/862-myworld)

Less More

- Posts: 966
- Thank you received: 11
-
-

12 years 11 months ago [\#136141](#136141) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Please Add More Sub-categories to Module](/forum/50-feature-request/863484-please-add-more-sub-categories-to-module#136141 "I have read many post requesting for more sub-categories added to the &quot;Categories on 2 levels&quot; module. I would LOVE it if you guys can add more sub-categories to this module. Most shops have many...")*

Oh ok. I thought of that but thought maybe there was a simpler way. Something like:
&lt;?php if($_GET==18 OR 19 OR 20) return; ?&gt; ![:)](/media/kunena/emoticons/3.png ":)")

Thank you very much for your help!!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUwLWZlYXR1cmUtcmVxdWVzdC84NjM0ODQtcGxlYXNlLWFkZC1tb3JlLXN1Yi1jYXRlZ29yaWVzLXRvLW1vZHVsZT90bXBsPW1hcmtkb3du) 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.090 seconds

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