How many filters fit in filter module?

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
1 month 1 day 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: 4738
  • Thank you received: 644
  • MODERATOR
1 month 1 day 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: 1 month 1 day ago by Philip.

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

  • Posts: 1055
  • Thank you received: 11
  • Hikashop Business
1 month 23 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: 82823
  • Thank you received: 13370
  • MODERATOR
1 month 18 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.061 seconds
Powered by Kunena Forum