Add product variation to addon-label when modifying order (#3864)

* Added Variation of Product by Additional Products

at Postion Name by Additional Products the Variant should missing. added it with the prefix -

* Update src/pretix/presale/templates/pretixpresale/event/order_modify.html

---------

Co-authored-by: Raphael Michel <mail@raphaelmichel.de>
This commit is contained in:
Till Kemper
2024-02-07 09:48:01 +01:00
committed by GitHub
parent 5d4f3eab06
commit 0871482681

View File

@@ -61,7 +61,9 @@
{% for form in forms %}
{% if form.pos.item != pos.item %}
{# Add-Ons #}
<legend>+ {{ form.pos.item.name }}</legend>
<legend>+ {{ form.pos.item.name }}{% if form.pos.variation %}
{{ form.pos.variation.value }}
{% endif %}</legend>
{% endif %}
{% bootstrap_form form layout="checkout" %}
{% endfor %}