{% load i18n %} {% load bootstrap3 %} {% load formset_tags %}

{% blocktrans trimmed %} With add-ons, you can specify products that can be bought as an addition to this product. For example, if you host a conference with a base conference ticket and a number of workshops, you could define the workshops as add-ons to the conference ticket. With this configuration, the workshops cannot be bought on their own but only in combination with a conference ticket. You can here specify categories of products that can be used as add-ons to this product. You can also specify the minimum and maximum number of add-ons of the given category that can or need to be chosen. {% endblocktrans %}

{{ formset.management_form }} {% bootstrap_formset_errors formset %}
{% for form in formset %}
{{ form.id }} {% bootstrap_field form.ORDER form_group_class="" layout="inline" %} {% bootstrap_field form.DELETE form_group_class="" layout="inline" %}

{% trans "Add-On" %}

{% bootstrap_form_errors form %} {% bootstrap_field form.addon_category layout="control" %} {% bootstrap_field form.min_count layout="control" %} {% bootstrap_field form.max_count layout="control" %} {% bootstrap_field form.multi_allowed layout="control" %} {% bootstrap_field form.price_included layout="control" %}
{% endfor %}