diff --git a/src/pretix/base/views/mixins.py b/src/pretix/base/views/mixins.py index ec88d171e1..76bc376122 100644 --- a/src/pretix/base/views/mixins.py +++ b/src/pretix/base/views/mixins.py @@ -53,6 +53,7 @@ class BaseQuestionsViewMixin: data=(self.request.POST if self.request.method == 'POST' else None), files=(self.request.FILES if self.request.method == 'POST' else None)) form.pos = cartpos or orderpos + form.show_copy_answers_to_addon_button = form.pos.addon_to and set(form.pos.addon_to.item.questions.all()) & set(form.pos.item.questions.all()) if len(form.fields) > 0: formlist.append(form) return formlist @@ -61,7 +62,7 @@ class BaseQuestionsViewMixin: def formdict(self): storage = OrderedDict() for f in self.forms: - pos = f.cartpos or f.orderpos + pos = f.pos if pos.addon_to_id: if pos.addon_to not in storage: storage[pos.addon_to] = [] diff --git a/src/pretix/control/templates/pretixcontrol/item/include_addons.html b/src/pretix/control/templates/pretixcontrol/item/include_addons.html index 9cf9df0657..c60264cbef 100644 --- a/src/pretix/control/templates/pretixcontrol/item/include_addons.html +++ b/src/pretix/control/templates/pretixcontrol/item/include_addons.html @@ -8,8 +8,7 @@ workshops as add-ons to the conference ticket. With this configuration, the workshops cannot be bought on their own but only in combination with a conference ticket. You can here specify categories of products that can be used as add-ons to this product. You can also specify the minimum and maximum number of - add-ons of the given category that can or need to be chosen. The user can buy every add-on from the - category at most once. If an add-on product has multiple variations, only one of them can be bought. + add-ons of the given category that can or need to be chosen. {% endblocktrans %}