Can I configure the app to show only products from the same collection?

Yes, you can limit the random recommendations displayed for products from the same manual collection of the current product by going to the Recommendation tuning section:

Then enable random recommendations and filter by manual collection:

Let's say, for example, that you are viewing a product page that is in the collection Hats. The random recommendations displayed will only be products from the Hats collection.

If you have enabled shopping cart page recommendations, recommendations from all collections in the shopping cart will be displayed.

For example, if there are two products in your shopping cart, one from Hats and the other from Socks, the recommendations displayed on the shopping cart page will be products from either the Hats collection or the Socks collection.

In the collection filter, only manual collections are used. Automated collections, such as Newest, Best selling or Low stock, are not used because they usually do not contain similar products.

Please note that if there are not enough products matching the selected criteria, the recommendations will be automatically completed using random recommendations.