Feature Request: Add ProductFilters parameter to useRecommendedProducts hook

We’re building the Recipes by FoodSocial Mini and want to show personalized recipe recommendations based on the products returned by the useRecommendedProducts hook.

Currently useRecommendedProducts doesn’t include categories in its return values and additionally does not accept ProductFilters as a parameter. This makes it difficult to match Shopify products to relevant recipes on our server.

The useProductSearch hook already includes ProductFilters as a parameter. Ideally this parameter could be added to the useRecommendedProducts hook as well. Alternatively you guys could include category data in the returned Products array.

If this is a planned feature or if there is a potential workaround please let me know!

Hey! Thanks for the suggestion - it was not on our roadmap but I’ve created a ticket to track this.

We are currently considering how to evolve our search capabilities - my best suggestion would be to flip it round and just use `useProductSearch` with a query and filter based on the recipes you have

Internal ticket ID #88110

1 Like

+1 — Our Mini focuses specifically on apparel products, and we’ve run into the same limitation. The usePopularProducts and useRecentProducts hooks don’t currently support category filters like useProductSearch does. Adding category and gender filtering would be extremely helpful.