Title: string search issue
Last modified: March 21, 2023

---

# string search issue

 *  Resolved [dnp1726](https://wordpress.org/support/users/dnp1726/)
 * (@dnp1726)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/)
 * the title says it all, im using the free version of the filters on a divi woocommerce
   store, the categories, range sliders and meta field filters all work splendidly,
   but the string search/product search filter is refusing to work.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [annastaa](https://wordpress.org/support/users/annastaa/)
 * (@annastaa)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16583179)
 * Hello Dnp1726,
 * Thank you for sharing your concern! Can you please share the link to your site
   for us to get a better understanding of what may be the matter?
 *  Thread Starter [dnp1726](https://wordpress.org/support/users/dnp1726/)
 * (@dnp1726)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16583217)
 * thank you for the reply, here is the site:
   [https://adairco.nl/winkel/](https://adairco.nl/winkel/)
 *  Plugin Author [annastaa](https://wordpress.org/support/users/annastaa/)
 * (@annastaa)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16583391)
 * Hello again Dnp1726,
 * Please check the custom / 3d party code of your site for any functions that may
   wipe out/ reset **the post__in clause of the main WooCommerce query**!
 * It’s almost definitely the cause of the problem, because other filters that depend
   on post__in do not work either, whereas the product counts and the filters’ dedicated
   [AJAX mode](https://annasta.net/plugins/annasta-woocommerce-product-filters/documentation/product-lists-settings/ajax-mode/)
   that use standalone queries apply string search clauses without issues. Unfortunately,
   the simple switch to the dedicated AJAX mode will not eliminate the problem, 
   since it will still be visible on first page loads and reloads.
 *  Thread Starter [dnp1726](https://wordpress.org/support/users/dnp1726/)
 * (@dnp1726)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16583471)
 * hello,
   i can’t find anything in the functions that reset the query.
 *  Plugin Author [annastaa](https://wordpress.org/support/users/annastaa/)
 * (@annastaa)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16584015)
 * Dnp1726,
 * You have to search for any WordPress or WooCommerce hooks (filters/actions) that
   alter the main query, or directly the post__in (pre_get_posts, loop_shop_post_in
   etc). If you keep all your custom code in a child theme, you can temporarily 
   activate the parent theme to see if it’s something in the custom code that causes
   the issue.
 * Theoretically, it could also be the parent theme or some 3d party plugin. Divi
   is not a free theme so I can’t test it, but it’s highly unlikely a theme would
   reset or not take into account the important WordPress hooks. If you like, you
   can perform the following debug procedure to make sure that it’s not the theme
   or a 3d party plugin:
    - Deactivate all the 3d party plugins apart from the WooCommerce and annasta
      Filters. If the problem persists, then it is caused by the Divi theme (or 
      some of its settings). You can temporarily switch to Storefront, the native
      WooCommerce theme, to confirm this.
    - If the string search problem gets resolved after the 3d party plugins deactivation,
      start re-activating plugins one by one, testing each time till you find the
      one that triggers the issue.
 * If the issue is caused by the Divi theme, you are welcome to contact us via our
   [contact form](https://annasta.net/contact-us/) to for us to join you in your
   quest for the solution.
 *  Plugin Author [annastaa](https://wordpress.org/support/users/annastaa/)
 * (@annastaa)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16632420)
 * Hello Dnp1726,
 * Let me close this inactive thread in hope that your issue has been resolved by
   now. Please don’t hesitate to open another topic if you have any further questions
   about the work of our WooCommerce filters.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘string search issue’ is closed to new replies.

 * ![](https://ps.w.org/annasta-woocommerce-product-filters/assets/icon-256x256.
   png?rev=2051343)
 * [annasta Filters for WooCommerce](https://wordpress.org/plugins/annasta-woocommerce-product-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/annasta-woocommerce-product-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/annasta-woocommerce-product-filters/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [annastaa](https://wordpress.org/support/users/annastaa/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/string-search-issue/#post-16632420)
 * Status: resolved