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

#   Problem with categories listing module

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#34814](#34814) by [fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")  *[Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34814 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")* was created by *[fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")*

Hi Nicolas,

I'm new to Hikashop and have started setting up a shop here: [ beaches.simple-url.com](http://beaches.simple-url.com).
If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page.
Initially, when I click on collections, the left menu shows "baby" and the sub categories for "baby". I can click on a subcategory and scroll to the product wihtout any problem. However,
when I then go to "clothing" on the left hand side, and click on the subcategory "all for kat", and then click back on baby, the module on the left hand side still shows "Clothing as the selected category" when it should switch back to "baby" and show the subcategories for "baby".
Another problem (which is probably linked), is when the page shows the products for the "all for kat" subcategory, when I click on the product in the middle, the module on the left hand side shows "floral" as the current category instead of showing "clothing" and it's fine with the 2 other items.
I'm not sure what I'm doing wrong and would be very grateful if you could assist.
I've created a user for you.
Username: nicolas, password: nicolas.
Maybe I'm not using the right component to achieve what I want to achieve??
Thanks in advance.

fougyoum

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDgxNC1wcm9ibGVtLXdpdGgtY2F0ZWdvcmllcy1saXN0aW5nLW1vZHVsZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

14 years 9 months ago [\#34832](#34832) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34832 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Hi,

That's because you're using an old version of HikaShop. Just update to the latest version of HikaShop and it should work properly.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#34862](#34862) by [fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")  Replied by *[fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34862 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Hi I have upgraded to the latest version but the problem is still happening...?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDgxNC1wcm9ibGVtLXdpdGgtY2F0ZWdvcmllcy1saXN0aW5nLW1vZHVsZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

14 years 9 months ago [\#34886](#34886) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34886 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Then I don't know. We're using the exact same module on our demo website and don't have the problem:
[ www.demo.hikashop.com/index.php?option=c...e=&amp;Itemid=78&amp;lang=en](http://www.demo.hikashop.com/index.php?option=com_hikashop&ctrl=category&task=listing&cid=14&name=&Itemid=78&lang=en)

Did you modify the view file "listing_list" via the menu Display-&gt;views in some way ? Because that would explain why the modifications were not taking into account.

If no, please provide an FTP access and we'll look at the problem.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago -  14 years 9 months ago [\#34908](#34908) by [fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")  Replied by *[fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34908 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Hi, no I have not made changes to the listing_list view ![:(](/media/kunena/emoticons/5.png ":(")
If you type [ beaches.simple-url.com/administrator](http://beaches.simple-url.com/administrator) and log in with username ****** and password ********, you'll be able to check it from there.
Is it enough or do you need FTP?
Thanks for your help. I really appreciate it as I'm at a dead end!

Last edit: 14 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDgxNC1wcm9ibGVtLXdpdGgtY2F0ZWdvcmllcy1saXN0aW5nLW1vZHVsZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

14 years 9 months ago [\#34940](#34940) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34940 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Hi,

That view file had been edited. That's why it didn't work. I've removed the customization file and it's working correctly now.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#34966](#34966) by [fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")  Replied by *[fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#34966 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Hi Nicolas,

I've checked and it works ok now. When I click on "baby", it shows the subcategories for "baby" and the left menu corresponds to what is displayed. Same thing when I click on "clothing" and when I click back on "baby". So it works at this level.

However, within the subcategory, for example when I click on "clothing" and on "all for kat", if I click on each of the products, the left menu does not stay on "clothing - all for kat" for all the items. I have also added another item to the subcategory "all for kat" called "test" and clicking on this product shows "baby" on the left menu. Clicking on the first product shows "bath/body/fragrance" etc...

??

Thanks for your assistance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDgxNC1wcm9ibGVtLXdpdGgtY2F0ZWdvcmllcy1saXN0aW5nLW1vZHVsZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

14 years 9 months ago [\#35002](#35002) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#35002 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Indeed that's normal because there is no check for that on the product page.
I've added a check for it. It's working like you want now.
I'll add that to next release as it's a nice addition.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#35012](#35012) by [fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")  Replied by *[fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#35012 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

Thank you Nicolas! It's working perfectly now. Great support, very happy!

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

14 years 9 months ago [\#35013](#35013) by [fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")  Replied by *[fougyoum](/forum/user/5395-fougyoum "View fougyoum's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#35013 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

oops I went to edit the file, and then I think I must have removed your changes... could you please add them again? then if I edit the file, I'll make sure that I save a copy of it before making my changes... Sorry!! ![:(](/media/kunena/emoticons/5.png ":(")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8zNDgxNC1wcm9ibGVtLXdpdGgtY2F0ZWdvcmllcy1saXN0aW5nLW1vZHVsZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86291
- Thank you received: 14269
-
-

14 years 9 months ago [\#35048](#35048) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Problem with categories listing module](/forum/3-bug-report/34814-problem-with-categories-listing-module#35048 "Hi Nicolas,  I'm new to Hikashop and have started setting up a shop here:   beaches.simple-url.com . If you click on collections, you will see that I've used a module to display the categories on the left hand side, with direct sub children. I've also used a menu to display the categories on the main page. Initially, when I click on collections, the left menu shows &quot;baby&quot; and the sub categories for &quot;baby&quot;. I can click on a subcategory and scroll to the product wihtout any problem. However, when I then go to &quot;clothing&quot; on the left hand side, and click on the subcategory &quot;all for kat&quot;, and then click back on baby, the module on the left hand side still shows &quot;Clothing as the selected category&quot; when it should switch back to &quot;baby&quot; and show the subcategories for &quot;baby&quot;. Another problem (which is probably linked), is when the page shows the products for the &quot;all for kat&quot; subcategory, when I click on the product in the middle, the module on the left hand side shows &quot;floral&quot; as the current category instead of showing &quot;clothing&quot; and it's fine with the 2 other items. I'm not sure what I'm doing wrong and would be very grateful if you could assist. I've created a user for you. Username: nicolas, password: nicolas. Maybe I'm not using the right component to achieve what I want to achieve?? Thanks in advance.  fougyoum")*

You need to add the code:
if(JRequest::getString('ctrl','category')=='product'&amp;&amp;JRequest::getString('task','listing')=='show'){
$cid = JRequest::getInt('category_pathway',0);
}

after the code:
jimport('joomla.html.pane');
$found = -1;
if(JRequest::getString('option')==HIKASHOP_COMPONENT &amp;&amp; in_array(JRequest::getString('ctrl','category'),array('category','product')) &amp;&amp; $cid = JRequest::getInt('cid',0)){

in that listing_list file.

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

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

[](#top)
