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

#   show product in subcategory by "group by category" setting

##

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 11 months ago [\#347314](#347314) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347314 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

Hello
This is a simplified version of my problem:
I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of "main category" to A and put product C in subA 1 and product D in subA 2. I also set the sub "element filter" value to "Grouped by category". When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.
[ ![category.png](/forum/attachment/56080) ](/forum/attachment/56080 "category.png")

- [ ![category.png](/forum/attachment/56080) ](/forum/attachment/56080 "category.png") [ ](/forum/attachment/56080?download=1 "category.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU0OTktc2hvdy1wcm9kdWN0LWluLXN1YmNhdGVnb3J5LWJ5LWdyb3VwLWJ5LWNhdGVnb3J5LXNldHRpbmc/dG1wbD1tYXJrZG93bg==) 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
-
-

3 years 11 months ago [\#347318](#347318) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347318 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

Hi,

You should indeed not need to add C and D to A, only to A1 and A2.
This works fine for me on my local computer.
Here is a screenshot of a products listing menu item settings to do that:
[ i.imgur.com/5HspLLK.png](https://i.imgur.com/5HspLLK.png)
And the result:
[ i.imgur.com/ftAGEtX.png](https://i.imgur.com/ftAGEtX.png)
So if that doesn't work on your end, I would need to see screenshots of your settings as well as knowning the version number of your HikaShop.

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 11 months ago -  3 years 11 months ago [\#347388](#347388) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347388 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

hello and excuse me for late to reply.
The problem still persists.
i use product category and it seems it work correctly and it seems problem with Vendor category.also i update hikashop to 4.6.2.
[ ![Menus-Edit-Item.png](/forum/attachment/56099) ](/forum/attachment/56099 "...-Edit-Item.png")

- [ ![Menus-Edit-Item.png](/forum/attachment/56099) ](/forum/attachment/56099 "...-Edit-Item.png") [ ](/forum/attachment/56099?download=1 "...-Edit-Item.png")

Last edit: 3 years 11 months ago by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU0OTktc2hvdy1wcm9kdWN0LWluLXN1YmNhdGVnb3J5LWJ5LWdyb3VwLWJ5LWNhdGVnb3J5LXNldHRpbmc/dG1wbD1tYXJrZG93bg==) 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
-
-

3 years 11 months ago [\#347423](#347423) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347423 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

Hi,

I'm not sure what could be the problem.
Could you provide a backend access and a FTP access so that we could look into the situation and do some debugging to better understand what could be the issue ?
If so, please provide that along with a link to this thread via our contact form:
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 11 months ago [\#347431](#347431) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347431 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

i do that as soon as possible. i must create a test for you. original site has persian language and maybe hard for you

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 11 months ago -  3 years 11 months ago [\#347480](#347480) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347480 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

it is ready to test:

[ lmssazan.ir/pl](https://lmssazan.ir/pl)
is my implemented problem. i send you admin user pass and also ftp.
if you change product A and product B from its category you can see the result.

Last edit: 3 years 11 months ago by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU0OTktc2hvdy1wcm9kdWN0LWluLXN1YmNhdGVnb3J5LWJ5LWdyb3VwLWJ5LWNhdGVnb3J5LXNldHRpbmc/dG1wbD1tYXJrZG93bg==) 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
-
-

3 years 10 months ago [\#347519](#347519) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347519 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

Hi,

Thanks. The FTP access works, however, the backend access doesn't. So I'm not able to change the categories of the products.
Could you double check the backend access ?

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 10 months ago [\#347596](#347596) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347596 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

hi
I apologize for the wrong password, but I had sent the correct email 10 minutes after that wrong email.is it possible check that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU0OTktc2hvdy1wcm9kdWN0LWluLXN1YmNhdGVnb3J5LWJ5LWdyb3VwLWJ5LWNhdGVnb3J5LXNldHRpbmc/dG1wbD1tYXJrZG93bg==) 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
-
-

3 years 10 months ago [\#347597](#347597) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347597 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

Hi,

Thanks, I was able to access the backend now.
I found the issue: when using setting the "sub element filter" setting of a menu/module to "group by categories" for a listing of product with the "main category" set to the main vendor category, the products wouldn't be found unless they were both linked to the sub category and the main vendor category. I fixed this so that it is not necessary, as it was already the case for normal categories. I tested the solution on your website with the FTP access and I can confirm it works fine now. We'll also include the patch for the next version of HikaShop.

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 10 months ago [\#347601](#347601) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347601 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

ok thank you for fix my problem but this site is a testing site. can you say when you release the next version of hikashop?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU0OTktc2hvdy1wcm9kdWN0LWluLXN1YmNhdGVnb3J5LWJ5LWdyb3VwLWJ5LWNhdGVnb3J5LXNldHRpbmc/dG1wbD1tYXJrZG93bg==) 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
-
-

3 years 10 months ago [\#347602](#347602) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#347602 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

Hi,

I've added the patch as a hot fix on our end.
So download the install package of HikaShop on our website and install it on yours and you'll have the patch.

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

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

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

Less More

- Posts: 221
- Thank you received: 8
-

3 years 7 months ago [\#350819](#350819) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  Replied by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#350819 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

is it possible say me where need to modify? because i can not update my hikashop and need this solution to resolve that problem.
if you say me which file need to modify i can do that.
thank you (i understand that it may be difficult for you after this time)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDU0OTktc2hvdy1wcm9kdWN0LWluLXN1YmNhdGVnb3J5LWJ5LWdyb3VwLWJ5LWNhdGVnb3J5LXNldHRpbmc/dG1wbD1tYXJrZG93bg==) 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
-
-

3 years 7 months ago [\#350827](#350827) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[show product in subcategory by "group by category" setting](/forum/26-product-category-display/905499-show-product-in-subcategory-by-group-by-category-setting#350827 "Hello This is a simplified version of my problem: I have a category called A and I have two subcategories called subA1 and subA2. I have two products named C and D. I set up a menu to display the products (hikashop Product Listing menu). In the menu settings, I set the value of &quot;main category&quot; to A and put product C in subA 1 and product D in subA 2. I also set the sub &quot;element filter&quot; value to &quot;Grouped by category&quot;. When I check the front of the site, it does not display any products. If I put those two products C and D in category A with the aforementioned settings(don't remove from it's subcategory subA1 and subA2), the front of the site will display three parts of category A, category subA 1, and category subA2 with repeated product. I want to have a parent category that does not have any products and all products are placed in its subcategories and the menu created by me will intelligently display the products in their own categories.")*

Hi,

The fix was added in the function getChildren of the file administrator/components/com_hikashop/classes/category.php

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

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

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