{% for p in (products if products is defined and products is iterable and products is not mapping else [product]) %}
image
{% if p.product_type == 'PRODUCT' %} product {% endif %}
{% endfor %}