Reply To: WooCommerce Product Variations Shown

Home Forums Product Support Forums Ajax Search Pro for WordPress Support WooCommerce Product Variations Shown Reply To: WooCommerce Product Variations Shown

#2385

diego89
Participant

I've got a permanent fix for you:

In Includes -> search_content.class on line 210 there is the query $querystr = …

change the WHERE statement to:

WHERE
$post_types
AND $post_statuses
AND $like_query
AND $exclude_posts
AND NOT $wpdb->posts.post_type = 'product_variation'
GROUP BY

the AND NOT line is my change in this file, probably you have to change the search_content_fulltext.class aswell.

It hope it works for you aswell.