forked from CGM_Public/pretix_original
Add unlimited_items_per_order-flag to Sales Channels (#1508)
* Add unlimited_items_per_order-flag to Sales Channels * Test for unlimited_items_per_order Sales Channels-flag * Fix test
This commit is contained in:
committed by
Raphael Michel
parent
fd7ad3cb16
commit
0474651070
@@ -53,6 +53,14 @@ class SalesChannel:
|
||||
"""
|
||||
return True
|
||||
|
||||
@property
|
||||
def unlimited_items_per_order(self) -> bool:
|
||||
"""
|
||||
If this property is ``True``, purchases made using this sales channel are not limited to the maximum amount of
|
||||
items defined in the event settings.
|
||||
"""
|
||||
return False
|
||||
|
||||
|
||||
def get_all_sales_channels():
|
||||
global _ALL_CHANNELS
|
||||
|
||||
Reference in New Issue
Block a user