I want to give automatic discounts to participants if they already are participating in another event.
I have explored the API and have some clues on how to look up participants on "the other event". But I don't understand
- How can I check if the current registering contact is in that list
- How do I turn this into something that can be applied during/after the registration process
- Where do I put that code, or whatever the "something" is
I could not find any documentation for the "automatic discount" part of CiviDiscount. Hints on where to find that are also helpful.
Edit:
I found CiviCRM Additional Events signup which sounded like a good fit but could not get that to work in a quick check, unfortunately.