{% for field in fields %}
    <div class="mall-product__property mall-product__property--custom-field {{ field.required ? 'is-required' : '' }}">
        {% partial __SELF__ ~ '::customfields/' ~ field.type field=field %}
    </div>
{% endfor %}