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 to for us to join you in your quest for the solution.