Product loop from a custom field of contacts table
For example, for a back in stock campaign to customise the design according to the preferences of each contact.

{% create_products_list products_list=contact.custom_fields['city'] %}
{% for product in products_list %}
{{product.name}}
{{product.price}} €
{% endfor %}
Please note: in this case, it is the products table that must be used after creating the list. All the variables will therefore refer to this table.
NB: the variable placed after the image to display the dynamic image of each product is {{product.img_url}}
Updated 14 days ago