How to show Categories and subcategories in the Hikashop Filter Module

  • Posts: 60
  • Thank you received: 2
  • Hikashop Business
10 months 4 weeks ago #282940

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0.25
-- Browser(s) name and version -- : Firefox Quantum

Hi there!!
We are using Hikashop filter module in a module position in our listings and one of our filters is a Hikashop Category filter.

The problem is that we want to show a category tree with all our product categories and subcategories but if we set the category filter configuration to "All Products" category, it only shows main categories. If we leave the module configured as the attached screenshot, it shows some other weird categories like "shipped" and so on... (see screenshot) How can we get a proper category tree in our module?




Please Log in or Create an account to join the conversation.

  • Posts: 63604
  • Thank you received: 9160
10 months 4 weeks ago #282947


A filter cannot support a tree structure. It can only display the sub elements of one category. So you won't be able to achieve what you want with that.
However, what you're supposed to do in that case is use a category tree listing module.
The HikaShop content module can display a tree of 2 levels of categories as you can see on our demo website left sidebar:
So you could use that.
And if you want more than 2 levels of categories, you can use an extension like this one:

The following user(s) said Thank You: karendunne

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum