From f4ac7e7f6598283ea5ae616e65896a976f9788ca Mon Sep 17 00:00:00 2001 From: Mira Date: Thu, 31 Oct 2024 12:59:28 +0100 Subject: [PATCH] Add warning that cross-selling can't prevent unwanted combinations (#4596) * Add warning that cross-selling can't prevent unwanted combinations * Update src/pretix/control/templates/pretixcontrol/items/category.html Co-authored-by: Raphael Michel --------- Co-authored-by: Raphael Michel --- .../templates/pretixcontrol/items/category.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/items/category.html b/src/pretix/control/templates/pretixcontrol/items/category.html index 0aa8c703ab..1e87f687b9 100644 --- a/src/pretix/control/templates/pretixcontrol/items/category.html +++ b/src/pretix/control/templates/pretixcontrol/items/category.html @@ -16,8 +16,18 @@ {% bootstrap_field form.internal_name layout="control" %} {% bootstrap_field form.description layout="control" %} - {% bootstrap_field form.category_type layout="control" horizontal_field_class="big-radio-wrapper col-lg-9" %} - {% bootstrap_field form.cross_selling_condition layout="control" horizontal_field_class="col-lg-9" %} + {% bootstrap_field form.category_type layout="control" horizontal_field_class="big-radio-wrapper col-md-9" %} +
+
+
+ {% blocktrans trimmed %} + Please note that cross-selling categories are intended as a marketing feature and are not + suitable for strictly ensuring that products are only available in certain combinations. + {% endblocktrans %} +
+
+
+ {% bootstrap_field form.cross_selling_condition layout="control" horizontal_field_class="col-md-9" %} {% bootstrap_field form.cross_selling_match_products layout="control" %}