Delio
1
Hello,
is there a way to concact or get recommendations from multiple products?
I try to modify data-url like this, but he get recommendations only from last item.product.id
<product-recommendations
class="related-products page-width"
data-url="{{ routes.product_recommendations_url }}?section_id={{ section.id }}{% for item in cart.items %}&product_id={{item.product.id}}{% endfor %}&limit={{ section.settings.products_to_show }}"
>
Any ideas?
Delio
2
Hello @kaiyaa ,
no, I want to show multiple recom in the cart. So take all the recom from the product in the cart and merge into one
@Shopify_77 , is there anyone watching this request? It would be helpful for showing combination recommendations for all products in the cart.
I reckon something like this would work great:
~/recommendations/products?section_id=abc&limit=4&intent=related&product_ids=123,456,789
2 Likes