• Hi,

    Your plugin seems fantastic, but it seems to conflict with my WooCommerce instance and I can’t figure out.

    I did activated the custom “product” post type in the Relevanssi plugin options, and also activated some attributes.

    I see there’s lot of counted terms in the backend, everything seem to be working properly.

    When I go to mysite.com?s=woa I can see that Relvanssi seems to work.

    However, if I limit the search to only the products post type ?s=woa&post_type=product, I get tons of errors.

    Undefined index: field in plugins/relevanssi/lib/search.php on line 109
    Undefined variable: term_id in plugins/relevanssi/lib/search.php on line 135
    Undefined index: taxonomy in plugins/relevanssi/lib/search.php on line 139

    Do you have any idea of what could conflict? I’m using latest version of WP and all plugins.

    Thanks for your time,

    https://wordpress.org/plugins/relevanssi/

Viewing 1 replies (of 1 total)
  • Plugin Author Mikko Saari

    (@msaari)

    These problems are related to taxonomy term searches. Do you have any “tax_query” or other taxonomy-related parameters in your search?

    Try using post_types instead of post_type in the URL. Does that help?

Viewing 1 replies (of 1 total)

The topic ‘WooCommerce Compatibility’ is closed to new replies.