{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load bootstrap3 %} {% block title %}{% trans "Delete product" %}{% endblock %} {% block inside %}

{% trans "Delete product" %}

{% if not possible and not item.active %}

{% blocktrans %}You cannot delete the product {{ item }} because it already has been ordered.{% endblocktrans %}

{% trans "Cancel" %}
{% else %}
{% csrf_token %} {% if possible %}

{% blocktrans %}Are you sure you want to delete the product {{ item }}?{% endblocktrans %}

{% if vouchers %}
{% blocktrans trimmed count count=vouchers %} That will cause {{ count }} voucher to be unusable. {% plural %} That will cause {{ count }} voucher to be unusable. {% endblocktrans %} {% trans "Show affected vouchers" %}
{% endif %} {% else %}

{% blocktrans %}You cannot delete the product {{ item }} because it already has been ordered, but you can deactivate it.{% endblocktrans %}

{% endif %}
{% trans "Cancel" %}
{% endif %} {% endblock %}