diff --git a/src/pretix/presale/signals.py b/src/pretix/presale/signals.py index a6531d6c3f..9bff40843c 100644 --- a/src/pretix/presale/signals.py +++ b/src/pretix/presale/signals.py @@ -69,6 +69,17 @@ You will recieve the request triggering the order creation as the ``request`` ke As with all event-plugin signals, the ``sender`` keyword argument will contain the event. """ +checkout_confirm_page_content = EventPluginSignal( + providing_args=['request'] +) +""" +This signals allows you to add HTML content to the confirmation page that is presented at the +end of the checkout process, just before the order is being created. + +As with all plugin signals, the ``sender`` keyword argument will contain the event. A ``request`` +argument will contain the request object. +""" + contact_form_fields = EventPluginSignal( providing_args=[] ) diff --git a/src/pretix/presale/templates/pretixpresale/event/checkout_confirm.html b/src/pretix/presale/templates/pretixpresale/event/checkout_confirm.html index f6d33f4750..970ffd7368 100644 --- a/src/pretix/presale/templates/pretixpresale/event/checkout_confirm.html +++ b/src/pretix/presale/templates/pretixpresale/event/checkout_confirm.html @@ -2,6 +2,7 @@ {% load i18n %} {% load bootstrap3 %} {% load eventurl %} +{% load eventsignal %} {% block title %}{% trans "Confirm order" %}{% endblock %} {% block content %}

{% trans "Confirm order" %}

@@ -57,6 +58,7 @@ {{ payment }} + {% eventsignal event "pretix.presale.signals.checkout_confirm_page_content" request=request %}
{% if request.event.settings.invoice_address_asked %}