From b136ac37c8c22f0cf54583163a00cc674058babd Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Thu, 13 Jun 2024 15:46:05 +0200 Subject: [PATCH] Hide addon text if only cross-selling, no addons in addon step --- .../templates/pretixpresale/event/checkout_addons.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html b/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html index 47c96db8e3..6e81da7eb3 100644 --- a/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html +++ b/src/pretix/presale/templates/pretixpresale/event/checkout_addons.html @@ -6,9 +6,12 @@ {% load money %} {% load thumb %} {% block inner %} -

- {% trans "For some of the products in your cart, you can choose additional options before you continue." %} -

+ + {% if forms %} +

+ {% trans "For some of the products in your cart, you can choose additional options before you continue." %} +

+ {% endif %}
{% csrf_token %}