Product recommendations not returning products despite the product being part of a collection

Curtis28
New Member
1 0 0

Hi,

 

Our site fetches recommended products as instructed in the documentation: https://shopify.dev/api/ajax/reference/product-recommendations

 

The issue is that some products return recommendations, and some don't, with no error, just an empty array. The instances where there are no recommendations don't seem to make sense, as these products are part of a collection. The logic is that if there is no purchase history, then that product's or a related collection is used in gathering products for recommendation. Can someone advise why this isn't the case?

 

Thanks

Replies 0 (0)