• Resolved Pedro Rivera

    (@pedrorivera)


    Hello people.

    I’m building this drugstore e-commerce (WooCommerce) and ASL was working butter-smooth until the last iterations, when out of nowhere the search stopped working, returning all products regardless of what was searched for — even random strings like oqihwertqweroqkwf, askfuh124351234qwlkfjh as seen here. I’ve tried to clear transients, clear site cache, reinstall ASL, but nothing helped.

    The site password is avcommerce.

    Any light on this?

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi!

    Thank you so much for the details, it helps a lot! I tried the given phrases, but I get no results as expected.

    On the results page I do see results, but it does not seem to be related to the plugin. When I try the default query, I’m seeing results as well – you can try it by disabling Ajax Search Lite. Something is definitely overriding the default search results over Ajax Search Lite as well.

    Make sure to check if you have any other search plugins, custom code or a different theme activated recenlty – that could explain the issue. It is usually when a custom code snippet, theme change or an additional search plugin is used.

    I hope this helps!

    All the best,
    Ernest

    Thread Starter Pedro Rivera

    (@pedrorivera)

    @wpdreams thanks for the quick reply. What do you mean with “the default query”? The results page is built with the query block.

    Plugin Author wpdreams

    (@wpdreams)

    By that I mean if the override of the search results from Ajax Search Lite were inactive (aka the plugin was deactivated), the same results would be shown.
    That means, that something along that was changed, either a custom code, a module or something that displays the results on the results page, as that should be the same as the live results – in this case nothing.
    Perhaps there is a fallback in the query block to show all items when no matches are found.

    The search definitely signals 0 results to the results page, as 0 results are found for the same query in the live results list, but after that the theme (or a custom code/search plugin) takes over and can show all results if it’s configured to do so. Make sure to check all of those settings, this is definitely beyond Ajax Search Lite – it signals 0 results to the results page as it should be.

    All the best,
    Ernest

    Thread Starter Pedro Rivera

    (@pedrorivera)

    @wpdreams thank you for the attention. I’ve figured that “Inherit query from template” block option is missing and after editing the code from search result page it is working properly now.

    Thanks again for the support!

    Plugin Author wpdreams

    (@wpdreams)

    Great! You are very welcome!

    I will mark this as resolved now.

    Feel free to rate the plugin if you like it, it is greatly appreciated!

    All the best,
    Ernest

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.