• Resolved wonderwooman

    (@wonderwooman)


    I am using the Astra theme, and here are some major settings:

    Seamless integration: ON
    Misspelling fix: (tried all)
    AJAX: OFF
    Show clear button: ON


    The issues I’m experiencing are as follows:

    1. The clear button (‘X’) doesn’t appear in the search bar after entering keywords unless I navigate away from the page and return. Refreshing the page does not resolve this.
    2. The clear button doesn’t appear after performing a search unless I edit the keywords, navigate away, and return to the page, as mentioned above.
    3. The clear button doesn’t appear at all when the search returns no products.

    I’ve disabled most plugins, but the issue persists. I’m wondering if I’ve missed some settings.

    Additionally, I would like to ensure that search results are always returned, even if they are fuzzy or random, rather than showing “No products found.” I tried adjusting the misspelling settings, but it didn’t solve the problem.

    Although leaving AJAX on might resolve the first two issues, the loading is too slow, so I prefer to keep it off.

    Any suggestions on how I can solve these issues?

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

    (@mihail-barinov)

    Hi,

    First of all – can you give me a link to the page with a working search form so I can look at this issue with a clear button.

    About your second problem with no results – one of the options here is to make misspelling fix feature less strict. This means that it will show some results even if they are less similar than usual. To do this you need to use aws_fuzzy_params filter and change min_distance parameter to something larger. For example you can use this code:

    apply_filters( 'aws_fuzzy_params', 'my_aws_fuzzy_params' );
    function my_aws_fuzzy_params( $fuzzy_params ) {
    $fuzzy_params['min_distance'] = 4;
    return $fuzzy_params;
    }
    Thread Starter wonderwooman

    (@wonderwooman)

    Hi @mihail-barinov , thank you for your response.

    Here is the link where you can test the clear button.

    The entire category still appears on the sidebar when no products are found. I was hoping to avoid this by ensuring that some results always show up. I added the code but the issues persist. I am using the BeRocket filter for the sidebar.

    Plugin Author ILLID

    (@mihail-barinov)

    Looks like this issue with the clear button appears only when AJAX search is turned off. This looks like a global plugin problem.

    I will fix this in the next plugin release.

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