{% set currentVendor = market.vendors.getCurrentVendor() %} {% if count is not defined %} {% set count = startingCount %} {% endif %} {% if count > startingCount %}
{% set variantKey = 'new'~count %} {% include '_market/_includes/variant-block-header.html' with { enabled: true, isDefault: false }%}
{# Title #} {% include '_market/_includes/fields/title.html' with { value: '', errors: [], name: 'variants['~variantKey~'][title]', id: 'variants-'~variantKey~'-title', updateVariantTitle: true } %} {% include '_market/_includes/variant-fields' with { variant: false, vendorCode: currentVendor.code } %}
{% endif %}