diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html index 4fa0fc5fc..cfe0f4ef0 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html @@ -1,7 +1,7 @@ {% load i18n %} {% for line in cart.positions %}
-
+
{{ line.item }} {% if line.variation %} – {{ line.variation }} diff --git a/src/pretix/presale/templates/pretixpresale/event/order.html b/src/pretix/presale/templates/pretixpresale/event/order.html index 9cf2b4395..51e01fa77 100644 --- a/src/pretix/presale/templates/pretixpresale/event/order.html +++ b/src/pretix/presale/templates/pretixpresale/event/order.html @@ -8,15 +8,15 @@ Your order: {{ code }} {% endblocktrans %} {% if order.status == "n" %} - {% trans "Payment pending" %} + {% trans "Payment pending" %} {% elif order.status == "p" %} - {% trans "Paid" %} + {% trans "Paid" %} {% elif order.status == "e" %} - {% trans "Payment pending" %} + {% trans "Payment pending" %} {% elif order.status == "c" %} - {% trans "Cancelled" %} + {% trans "Cancelled" %} {% elif order.status == "r" %} - {% trans "Refunded" %} + {% trans "Refunded" %} {% endif %} {% if order.status == "n" %} diff --git a/src/pretix/presale/views/checkout.py b/src/pretix/presale/views/checkout.py index a13344b74..395cec4f2 100644 --- a/src/pretix/presale/views/checkout.py +++ b/src/pretix/presale/views/checkout.py @@ -147,7 +147,7 @@ class CheckoutStart(EventViewMixin, CartDisplayMixin, EventLoginRequiredMixin, C form.cartpos = form.cartpos.clone() form.cartpos.attendee_name = v form.cartpos.save() - elif k.startswith('question_'): + elif k.startswith('question_') and v is not None: field = form.fields[k] if hasattr(field, 'answer'): # We already have a cached answer object, so we don't