• Hi there!

    I’m having some trouble trying to tune the search function properly.
    Don’t know if this is default or not, but if I hit the “search” button I get different results than I would get by hitting “enter” in the keyboard.

    And also, in the result page, if I keep pressing enter, the results keep changing the sorting, instead of keeping the same one.

    Ex:
    Search for “fighter”, click search, get 20 results.
    Click search again, results don’t change the order/sorting.

    on the other hand;
    Search for “fighter”, hit enter, get 17 results
    hit enter again, sorting changes randomly. Hit again, it changes again. And so on.

    (same happens in mobile version, hitting search works different than hitting “return” on the mobile keyboard)

    How can I make them work the same way?
    Tried the settings, but it only seems to affect the “enter” way.

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

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

    (@mihail-barinov)

    Hello,

    As I see the problem here is in your ‘search’ button. Looks like there is some js scripts that run when clicking this button and you redirected to the search page with standard search results, not plugin ones.

    Can you please tell me theme name that you are using?

    Regards

    Thread Starter gabrielcupim

    (@gabrielcupim)

    Thanks for the support!
    My theme name is “Savassi Games Theme”

    I remember that when the company that developed the site for us delivered the product, the only way to effectively search was clicking the search button, hitting “enter” didn’t do anything at the time.

    But they “fixed” it soon afterwards (not entirely it seems)

    Plugin Author ILLID

    (@mihail-barinov)

    So, as I understand, it is some custom made theme.
    In this case maybe it is possible to send theme files to [email protected] ?

    Thread Starter gabrielcupim

    (@gabrielcupim)

    Thank you so much ILLID, just sent you some files.

    Couldn’t get the whole theme at the moment, but I’m working in it.
    Please tell me if you need more! Thanks again.

    Plugin Author ILLID

    (@mihail-barinov)

    Please try to do the following: find inside your theme lines

    <div onclick="pesquisaproduto()" id="submitpesquisa" type="submit" class="menu-button-orange"><div class="icon-container"><img src="https://savassigames.com.br/wp-content/themes/sg.theme/assets/img/icon_pesquisa.png" alt="" class="img-responsive icon"></div><span for="" class="text-center">Pesquisar</span></div>

    and replace with

    <button id="submitpesquisa" type="submit" class="menu-button-orange"><div class="icon-container"><img src="https://savassigames.com.br/wp-content/themes/sg.theme/assets/img/icon_pesquisa.png" alt="" class="img-responsive icon"></div><span for="" class="text-center">Pesquisar</span></button>

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Click “search” results are different than hitting “enter”.’ is closed to new replies.