Description
openedon Jun 18, 2020
The site where I encountered the issue has WooCommerce and WPML installed. There are three different versions of the site (English, Russian, and Latvian). The problem is, when Jetpack search is enabled (The old search, not the 'instant search', it's called "Replace WordPress built-in search with an improved search experience" on Calypso) - when you search for a product, it returns multiple products of the same name from all versions (languages) of the site.
However, in certain other languages, none of the products show up on search results.
Steps to reproduce the issue
I haven't reproduced this on my test sites. The steps are from the site of the user who reported it.
- Have WooCommerce and WPML installed with products in multiple languages (with the same name) and a toggle to switch between the languages in the menu.
- Search for the product using the search button.
- Switch between different languages to see the search result for the same search term is different.
What I expected
I expected the search terms to show the search result for either the same product regardless of which language/version is chosen.
What happened instead
In English version, the same product is listed three times:
In Russian, none of them are displayed:
Issue reported in #21973904-hc
Follow-up ticket in #3071272-zd