• mygain

    (@mygain)


    Hi,

    I’ve seen this same ticket from 2 years ago (but no solution):

    There is a problem on search results page and filtering. If we search for something, go to the search results page and try to filter the results, then the filter returns “irrelevant” results.

    For example:
    https://www.arslanwonen.nl/assortiment/?s=nisdeur&post_type=product&filter_breedte=110&query_type_breedte=or&type_aws=true

    There are no results, but if you remove?&type_aws=true from end of url, then the filter works correctly (18 results).

    This problem is only on the search results pages. I’m using theme Porto and the default widgets from woocommerce attribute filters.

    How can we fix this?
    Thank you

    • This topic was modified 1 year ago by mygain.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Please try the following – open the plugin settings page and scroll to the ‘Search results page’ section. Inside it change the value of ‘Change query hook’ option and check search results one more time.

    Regards

    Thread Starter mygain

    (@mygain)

    Hi, it made no difference. Do I need to re-index the table?

    Thread Starter mygain

    (@mygain)

    I did just reindex, but the results are the same as described in my post. Howcome the &type_aws=true shows no results?

    Plugin Author ILLID

    (@mihail-barinov)

    That &type_aws=true is needed to add plugin search results. Otherwise the results page will display default search results.

    So you are using this widget – https://prnt.sc/z7x18NKkC85W . Is that correct?

    I see that when choosing any filtering options all results are refreshed via ajax. When testing this standard WooCommerce widget filters on my local server the whole page is refreshed after choosing the filtering option. Please tell me – what option are you using to have this live refresh?

    Thread Starter mygain

    (@mygain)

    Hi,

    Yes that’s the widget. The Ajax results are a toggle in the Porto theme settings. I’ve now disabled that. The page will reload, but still no results.

    Also, manually refreshing the page didn’t work aswell. Just removing the type_aws parameter from the url will show the correct results.

    Hoping for further assistance.

    Plugin Author ILLID

    (@mihail-barinov)

    Did you try to test both – disabling ajax and changing the value of ‘Change query hook’ option?

    Thread Starter mygain

    (@mygain)

    Yes, there doesn’t seem to be a difference. I might explore alternative plugins to compare the results.

    I’m also experiencing this issue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Filter on search results page does not work’ is closed to new replies.