I have the same problem. It is frustrating as the author said (twice) more than one year ago that the issue would be fixed.
https://wordpress.org/support/topic/ajax-search-for-woocommerce-and-polylang/
https://wordpress.org/support/topic/ajax-search-polylang-dont-work-anymore/
The workaround I’ll try for now is adding a directive directly in the web server configuration, to redirect to the proper URL. This is not a clean solution at all, I wish the author would fix this as promised. For now this is the issue that is preventing me from going Pro, and it is very unfortunate because this plugin is otherwise great.
edit:
If anyone is encountering this, the problem is solved by selecting “The front page url contains the language code instead of the page name or page id” in Languages -> Settings. The point is that the homepage in non-default languages should not contain the name of the page (home, home-2, etc.) but only the language suffix, i.e. mysite.com/fr, mysite.com/de, etc.
I hope this is useful to someone.
-
This reply was modified 5 years, 6 months ago by
alfy40. Reason: found solution
We’ve fixed it in version v1.8.1-rc-2. Follow these steps:
1. Go to the page https://wordpress.org/plugins/ajax-search-for-woocommerce/advanced/
2. Scroll down to the section “PREVIOUS VERSIONS”, select “Development version” and download the zip file.
3. Remove your current plugin version and install the development version.
Could you confirm if it works in your cases?
Best
Damian