Filter doen't seem to pass the search term.

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
8 years 3 months ago #246477

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6
-- PHP version -- : 5.5

HI,

I have created a search filter on the homepage. I'm sure this was once working fine, so it may be down to an update? However, it seems that the search term is not passed to the results. If I turn SEF off and other plugins that could affect this I still get the same result.

Module for the filter force redirect is on.
Configuration - redirect post mode yes

When I do a search (SEF off etc) the resulting URL is this: index.php?option=com_hikashop&ctrl=product&task=listing&Itemid=225&limit=21&filter_Search=

If you add in manually your search term to the URL directly, so something like this:
index.php?option=com_hikashop&ctrl=product&task=listing&Itemid=225&limit=21&filter_Search=hats

and load the browser it works fine.

I have no template overrides.

I have tried paying with the force redirect / POST redirect setting and I can't get anything to work.

help please?

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
8 years 3 months ago #246480

Hi,

The issue comes from this:
On your page you have the filter module displayed twice. One for the search in mobile and one for the search on desktops.
Since it's the same module, it has the same ids and when you use the filter for desktops it actually get the filter module for mobile thanks to the id of the module and send the data of this one.

You should configure two different modules for that to avoid the problem.

The following user(s) said Thank You: grayt7

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

  • Posts: 363
  • Thank you received: 7
  • Hikashop Business
8 years 3 months ago #246605

Excellent - thanks!

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

Time to create page: 0.059 seconds
Powered by Kunena Forum