Search module to search in all products all the time

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
2 weeks 3 days ago #363297

-- HikaShop version -- : 5.0.2
-- Joomla version -- : 4.4.2
-- PHP version -- : 8.1
-- Browser(s) name and version -- : Chrome/Opera GX

Dear HikaShop,

We have a search bar on the center top of the web page but when we go inside a category, the search bar will only search in the category we're actually in. We'd like to search in the whole webshop at that point, even if we're in a second-third level category.

Is that possible with the built-in search filter? If not, can you suggest a search plugin that can do this with a results page?

Thank you for your answer and help in advance,
FRIK

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

  • Posts: 82570
  • Thank you received: 13293
  • MODERATOR
2 weeks 3 days ago #363298

Hi,

Edit the settings of your HikaShop filter module via the Joomla modules manager, and turn on the "force redirect" setting. Also, make sure that the menu setting below contains the id of your "webshop" menu.

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

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
2 weeks 2 days ago #363322

Hi Nicolas,

The force redirect is turned on and I gave the menu ID 110 but didn't work. If it should redirect back to the main webshop category, then it doesn't work and stays on the same page. Also, we have an other filter in the left position containing specific filters for the products' properties. Both of them are refreshing if we're searching for something in the top search bar. Maybe there's some problem with that? Do you have any ideas how to solve this?

Thank you,
Frik

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

  • Posts: 82570
  • Thank you received: 13293
  • MODERATOR
2 weeks 2 days ago #363323

Hi,

I'm thinking this is an old bug then.
Check if you have the file templates/YOUR_TEMPLATE/html/com_hikashop/product/filter.php via FTP.
If you do, try renaming it in order to deactivate the override.
If that doesn't help or if you don't have the file, please update to the latest version of HikaShop.

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

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
1 week 5 days ago #363406

Hi nicolas,

I renamed the filter.php temporary and updated HikaShop as well to the latest version but still doesn't work. It seems that it just doesn't redirect back and shows results instantly (without any results).

Could you help what else could be wrong? I can also give you an access if you like.

Thank you,
Frik

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

  • Posts: 82570
  • Thank you received: 13293
  • MODERATOR
1 week 5 days ago #363413

Hi,

Then, I'm not sure what is going on.

Can you provide a backend and a FTP access so that we can check on the situation please ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
6 days 2 hours ago #363554

Dear nicolas,

I sent the email about the login and FTP details.

Thank you for your help!

FRIK

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

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
6 days 2 hours ago #363556

FYI we had to downgrade to the previous version of HikaShop/Joomla installed because the latest one didn't solve the problem and we're near the deadline and there would be a lot of CSS and custom things to fix using the latest versions.

Thanks,
FRIK

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

  • Posts: 82570
  • Thank you received: 13293
  • MODERATOR
5 days 18 hours ago #363577

Hi,

Ok, no problem. Then, could you make a copy of the website available so that we could look at the issue on the copy of the website ? That way, we would be to look into it without impacting your live website while we're looking into it.

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

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
5 days 2 hours ago #363602

Hi nicolas,

This is a test website yet so you can freely edit all the files. We have daily backups of it as well so if something goes wrong we can easily restore anything if neccessary.

Thank you,
FRIK

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

  • Posts: 82570
  • Thank you received: 13293
  • MODERATOR
4 days 20 hours ago #363621

Hi,

Ok. Thanks. I've worked on this today and found the issue.
I've added the patch on your website and I can confirm that the search module now search in all products.
I'll add the patch on our end too for the next version of HikaShop.

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

  • Posts: 38
  • Thank you received: 2
  • Hikamarket Multivendor Hikashop Business
2 days 8 minutes ago #363709

Hi Nicolas,

Thank you very much, now it works as expected.

Frik

The following user(s) said Thank You: nicolas

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

Time to create page: 0.073 seconds
Powered by Kunena Forum