Download raw (342 bytes)
{% with id=widget.attrs.id %} <ul{% if id %} id="{{ id }}"{% endif %} class="flex flex--outline product-list"> {% for group, options, index in widget.optgroups %} {% for option in options %} <li class="flex__item flex__cell">{% include option.template_name with widget=option %}</li> {% endfor %} {% endfor %} </ul> {% endwith %}