• Hi.

    I just installed your plugin and noticed that the search doesn’t work in regards of showing search results from product titles. It only shows tags and categories (if those are enabled in settings) or else the search results is empty no matter which search term is used.
    I saw a thread that mentioned incompatibility with Relevanssi. So I tried by deactivating Relevanssi and your plugin started working as intended. Search results is showing product titles.

    In the old thread you stated that you would add add compatibility with Relevanssi in upcoming version. Did you add compatibility and this a new bug due to changes with Relevanssi? Or didn’t you add support for some reason?

    And, big thanks for this plugin, really nice work. Hope you can fix this issue, so I can keep on using it.

    Best regards,
    Mikael

Viewing 5 replies - 1 through 5 (of 5 total)
  • I think you’d get pretty close if you modify /includes/Engines/WordPressNative/Search.php and change this:

    $products = get_posts( $args );

    to this:

    if ( ! function_exists( 'relevanssi_do_query' ) ) {
        $products = get_posts( $args );
    } else {
        $wp_query = new WP_Query();
        $wp_query->parse_query( $args );
        relevanssi_do_query( $wp_query );
        $products = $wp_query->posts;
    }
    Thread Starter MikaelG

    (@armbreaker)

    Is that in your plugin or this plugin?
    So which plugin is causing this. And which one needs to change the code, as I can’t be alone having both this awesome plugins installed ??

    Hi @armbreaker,

    I am experiencing the same issue on my end and was wondering if @msaari fix worked or not for you?

    That file is in Ajax Search for WooCommerce, not in Relevanssi.

    Thanks @msaari We’ll try it out and will give an update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin not compatible with Relevanssi’ is closed to new replies.