Recommended products loop from a custom field in products table
For example, display a list of recommended products from a custom field in the product table to display them in a post-purchase campaign.

{% for orderline in order.orderlines limit:1 %}
{% create_products_list products_list=orderline.product.custom_fields['splio_product_recommendation_1'] %}
{% for product in products_list %}
{{product.name}}
{{product.price}} €
{% endfor %}
{% endfor %}
Updated 3 days ago