1 2 3 4 5 6 7
{% if items %} <ul> {% for item in items %} <li>{{ item.quantity }} × {{ item.product }}</li> {% endfor %} </ul> {% endif %}