mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Widget: Do not declare products "FREE" if they have mandatory addons (#3041)
This commit is contained in:
@@ -272,6 +272,7 @@ class WidgetAPIProductList(EventListMixin, View):
|
||||
'min_price': item.min_price if item.has_variations else None,
|
||||
'max_price': item.max_price if item.has_variations else None,
|
||||
'allow_waitinglist': item.allow_waitinglist,
|
||||
'mandatory_priced_addons': item.mandatory_priced_addons,
|
||||
'free_price': item.free_price,
|
||||
'avail': [
|
||||
item.cached_availability[0],
|
||||
|
||||
Reference in New Issue
Block a user