Development discussions around Shopify APIs
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.
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.
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:
I'm getting this too. Does anyone at Shopify have a fix for this?
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.
User | RANK |
---|---|
12 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022