Ajax Search doesn’t work if it is set to full page

This topic has 7 replies, 2 voices, and was last updated 2 years, 8 months ago ago by Sadikul Islam

  • Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    April 22, 2022 at 17:46

    Hi, I am facing an issue where the ajax search is not working properly on my website, It works when First 2 type is selected, but 3rd type is not working, it just keep spinning, doesn’t show the results,

    Please watch the video attached in the private content area.
    Thank you.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 23, 2022 at 07:43

    Hello,

    1/ Try to disable all the third-party plugins (including cache plugins), that do not come bundled with XStore https://www.8theme.com/documentation/xstore/plugins/included-plugins/ , clear cache of browser, and check then. Maybe one of the additional plugins is a reason for the problem.
    2/ Provide temporary wp-admin and FTP access, so we can take a closer look.

    Regards

    Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    April 24, 2022 at 04:57

    I am providing the access in the private content area, hoping you will go and find the issue,

    Thank you/

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 25, 2022 at 08:21

    Hello,

    I’ve passed this question to one of our developers. I will let you know once get an answer. Please be patient.

    Regards

    Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    April 25, 2022 at 14:42

    Thank you, I will be waiting for your reply.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 25, 2022 at 15:25

    1/ How we found the issue reason -> https://prnt.sc/M9y42BouzdrH
    2/ When we deactivated that plugin – search started to work -> https://prnt.sc/pDthVTxTVZTD
    3/ We found that this custom code was the main issue -> https://prnt.sc/Pyijd07H1HE0
    4/ We improved your code to make it works without errors and also it is minimazed now -> https://prnt.sc/i3VE5mORS71W

    You may read articles about wordpress filters/actions to know how to use them correctly
    https://developer.wordpress.org/reference/functions/apply_filters/
    https://developer.wordpress.org/plugins/hooks/filters/
    https://developer.wordpress.org/reference/functions/do_action/
    https://developer.wordpress.org/reference/functions/add_action/

    Regards

    Avatar: Sadikul Islam
    Sadikul Islam
    Participant
    April 25, 2022 at 17:50

    Thank you very much for solving the issue and for providing a better solution,

    Really Appreciable.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘Ajax Search doesn’t work if it is set to full page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.