How many filters fit in filter module?

  • Posts: 1051
  • Thank you received: 11
  • Hikashop Business
4 days 14 hours ago #364005

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 4.4.8

Hi!

How many filters can i add in a filter module? Cause i have to create many for every category so i don't know what is the best way here.
Can i have one module for all filters and categories? Or i have to create different filter modules for every product category?

Thank you

Attachments:

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

  • Posts: 4713
  • Thank you received: 638
  • MODERATOR
4 days 9 hours ago #364006

Hello,

In theory there is no filter limit associated with your module.

Now for the rest, the answer will depend on your needs, that is to say:
Either, you need to have results on all of your products.
=> So no need to restrict by product category.

Or, you want to ONLY search in the category that only matches the displayed category.
=> Then you will need several filter modules each with the corresponding filter (i.e. restricted to the category currently displayed on the Item Menu).
Hope this will help you.

Regards

Last edit: 4 days 13 hours ago by Philip.

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

  • Posts: 1051
  • Thank you received: 11
  • Hikashop Business
4 days 9 hours ago #364010

There must be a limit cause i have 50 filters in my module and i cannot add more, every time i save the rest of them disappear.
I would prefer one module for all categories and display filters dynamically but it seems like that's not possible.

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

  • Posts: 82680
  • Thank you received: 13330
  • MODERATOR
4 days 4 hours ago #364015

Hi,

Try changing the line:
$limit = 50;
in the file administrator/components/com_hikashop/classes/filter.php
We can change it to 100 in order to allow for more filters if that solves the problem.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.058 seconds
Powered by Kunena Forum