The name "Activities" can narrow one’s mindset, think about them as “Constraints” that overlap tickets.
Rule of thumb:
if an Activity count reaches zero, any ticket that is associated with that Activity, is SOLD OUT, zero amount remaining
Expected example ticket setup:
Event T1 | Event T2 |
---|---|
have 10 Early Bird ticket slot
7 of these is non-diversity supporting 3 is diversity supported
sell combo tickets with T2 |
have 15 Early Bird ticket slot
10 of these is non-diversity supporting
5 is diversity supported
sell combo tickets with T1 |
Event T1 | Event T2 |
---|---|
Early Bird | Early Bird |
Early Bird + Diversity support | Early Bird + Diversity support |
Early Combo (this + Early Bird T2) | Early Combo (this + Early Bird T1) |
set two Activities amount at each event, as constraints:
EB available Early Bird tickets ND non-diversity tickets |
10 7 |
EB available Early Bird tickets ND non-diversity tickets |
15 10 |
Associate these constraints to tickets:
Event T1 | Event T2 |
Early Bird EB ND |
Early Bird EB ND |
Early Bird + Diversity support EB |
Early Bird + Diversity support EB |
Early Combo (this + Early Bird T2) EB ND |
Early Combo (this + Early Bird T1) EB ND |
if someone buys one Early Bird Ticket at T1:
T1 EB available Early Bird tickets decrements one
T1 ND non-diversity tickets decrements one
if someone buys one Early Combo at T2:
T2 EB available Early Bird tickets decrements one
T2 ND non-diversity tickets decrements one
T1 EB available Early Bird tickets decrements one
T1 ND non-diversity tickets decrements one
if someone buys** Early Bird at T1** when T1 non-diversity ticket
has only 1 remaining slot
T1 EB available Early Bird tickets decrements one
T1 ND non-diversity tickets decrements one - reaches zero
Remember the rule of thumb?
if any Activity count reaches zero, any ticket that is associated with that Activity is SOLD OUT, zero amount remaining
So the result is:
T1 Early Bird associated with "ND non-diversity tickets" with 0 remaining
T1 Early Bird is SOLD OUT
T1 Early Combo associated with "ND non-diversity tickets" with 0 remaining
T1 Early Combo is SOLD OUT
T2 Early Combo is associated with T1 Early Bird
T2 Early Combo is SOLD OUT
after this T1 event can only sell "Early Bird + Diversity support" tickets, until the EB available Early Bird tickets constraint runs out of available slots
at Event T1 we have 10 Early Birds, some of them is combo with T2
and 3 of these are Early Bird + Diversity
we don’t had to pre-set a combo ticket amount, and adjust them on-the fly, if they are running out