Support » Plugin: Advanced Woo Search » Ajax search not working on Elementor’s popup templates

  • dr

    (@daniel_richard)


    Hi ILLID,

    Just reporting that the latest version of Advanced Woo Search’s ajax search isn’t working on Elementor’s popup templates / pages.

    Use case:
    Mobile using popup to display search and nav

    Note:
    Ajax search is working for Elementor’s normal templates. Only affecting popups right now.

    Hope this helps! 🙂

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

    (@mihail-barinov)

    Hello,

    Sorry, can you guide me how it is possible to create Elementor’s popup templates?
    Plugin was tested with Elementor’s pages templates but not with any popups and I even don’t know about them.

    Regards

    Hey ILLID. same problem here.
    You need an Elementor pro installed to create a popup template.
    The ajax search works fine when you create the template on the back-end, but doesn’t work on the front-end, when opening the popup.
    No error displays on the console.
    I have tried setting the z-index to 999999, but did not work.
    Can send you the pro plugin for testing, if you need, just send me an email.
    Best regards

    Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Please try to use following code

    add_filter( 'elementor/frontend/the_content', 'aws_et_html_main_header' );
    function aws_et_html_main_header( $html ) {
        $pattern = '/(<form class="elementor-search-form"[\S\s]*?<\/form>)/i';
        $form = aws_get_search_form(false);
        $html = preg_replace( $pattern, $form, $html );
        return $html;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.