Predictive search API duplicated product titles

3 0 1

Hi everyone,


I'm creating a custom theme for my client. At the moment we add a predictive search feature which has a very strange issue:

Certains products in a search result have got duplicated titles.

For example, if the product name is "Black coat" then the product's title in the results is "Black coat Black coat".


Can't figure out why is this happening.  Any ideas? May be somebody has already saw this issue? Thank you in advance for any tip or advice.

Replies 4 (4)
3 0 1

A small follow up to the information posted before.


I turns out that products with duplicated titles were created via REST API.  If I duplicate such a product in the back office manually then a duplicate has no issues. It looks like there is a bug in the REST API.  

3 0 1

Another follow up.


It looks like the problem is in GraphQL translation API. Once the product's title has been translated by GraphQL API then predictive search API fetches this product with duplicated title.


Here is a screenshot:




New Member
1 0 0

I'm getting this too. Does anyone at Shopify have a fix for this?

27 0 7

 It is related to product name translations. For example, if you use several languages in the store , then you will get a product name in the search consisting of three translated names.  just removed the translation.