Issue with Shopify Product Recommendation API - returns no product

Solved
Michal7
New Member
1 0 1

Hi,

 

our client (journeymap.lt) is having a problem with our Upsell App - Candy Rack which uses also Shopify Product Recommendation API. Recently we have experienced that no product was returned even though the client's store has many other products in stock. 

 

Screenshot at Jul 30 12-56-06.png

 

Could someone from the Shopify team explain how the recommendation works or how can we avoid such a situation?

 

Cheers,

Michal 

www.digismoothie.com 

Josh
Shopify Staff
Shopify Staff
1131 82 194

This is an accepted solution.

Hey @Michal7 , 

 

There are some cases where we'll recommend products by responding with other products that share a collection with whichever product you're fetching recommendations for - as long as it is not a /all or /frontpage collection.  We'll do this on shops without orders within a certain timeframe, or shops with larger product catalogs. 

 

In this case, the shop falls into the above category of fetching related products from a collection, except it only has a /all collection which would be ignored. If they created another collection to group their products together that had a different handle than /all, you should find recommended products in your responses. 

 

Please let me know if the above doesn't do the trick though! 

csell
New Member
1 0 0

Hi @Josh We're running into a similar problem with our implementation of smart recommendations. In this store's product we're getting no recommendations returned even though it has collections associated: https://najo-au.myshopify.com/collections/christmas-2019/products/eros-necklace?variant=306942270833...

 

Should it not default to retrieving suggestions from the collections or does it only apply to stores with > 7000 items?

 

Any feedback would be greatly appreciated.

 

 

0 Likes
Josh
Shopify Staff
Shopify Staff
1131 82 194

Hi @csell , 

 

I'm not able to replicate this - when fetching recommendations with the Ajax API I'm getting 4 products back as expected.

 

2019-11-acrxf-izjke

 

Is this still a problem for you? If so, how are you fetching your recommendations?

0 Likes
kriszti
Shopify Partner
50 0 3

I'm experiencing the same problem.  My product recommendations are returning as 0

0 Likes
sean_orfila
Shopify Partner
146 4 19

Same here too, and I created multiple collections that mimic /all and still seeing no products in response on occasion

0 Likes
sean_orfila
Shopify Partner
146 4 19

I'm also noticing a difference between the JSON response and the non-JSON response. JSON response will be [1] product while the non-JSON response returns empty. 


0 Likes