forked from CGM_Public/pretix_original
Presale: improve clientside handling of max-count for add-on products
* Fix typo in error message * Use exclusive checkboxes for addon items with max_count == 1 and !multi_allowed * combine exclusive items + variations * move exclusive to containing fieldset * fix add-on-exclusive * add max_count check * fix plus/minus-stepper buttons bubbling * Update src/pretix/static/pretixpresale/js/ui/main.js --------- Co-authored-by: Richard Schreiber <schreiber@rami.io>
This commit is contained in:
@@ -197,7 +197,7 @@ error_messages = {
|
||||
'You need to select at least %(min)s add-ons from the category %(cat)s for the product %(base)s.',
|
||||
'min'
|
||||
),
|
||||
'addon_no_multi': gettext_lazy('You can select every add-ons from the category %(cat)s for the product %(base)s at most once.'),
|
||||
'addon_no_multi': gettext_lazy('You can select every add-on from the category %(cat)s for the product %(base)s at most once.'),
|
||||
'addon_already_checked_in': gettext_lazy('You cannot remove the position %(addon)s since it has already been checked in.'),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user