If you’re getting unexpected results when using the productRecommendations query in Shopify’s GraphQL API, it could be due to a misinterpretation of the query structure. Specifically, you should ensure that you’re structuring your query correctly to access the properties of the recommended products. Can you share the full query?
The localization of the mock products in our shop was not complete and I was getting the wrong data from the correct product, but only because someone put it there (or did not update the translations).
Can you let me know if complementary products on the Hydrogen store are the one which will be based on the configuration in admin or these products are generated by Shopify and displayed. Because I have configured different products in the Search and Discovery app but when I run the query I get other products.
Here is the query for same: