Is there a way I can limit the amount of tickets with discount based on a custom field (number)?
We have users that can sign in and buy tickets for their family and family only. The custom field has the number of family members. If they want to buy more tickets than they have family members the need to choose other tickets without discount.
Possible, likely yes, but we don’t have this feature within Event Espresso so you will need some custom code to do it and likely the help of a developer.
Is there a way I can limit the amount of tickets with discount based on a custom field (number)?
Where would this custom field be stored? On an event or the user? I’m assuming as this is based on the user it would be something from their wp user account.
So you want say:
Regular ticket ($10)
Family member ticket ($8)
Based on a custom field set on the user account they can register say up to 4 family member tickets but any number of regular?
Where would this custom field be stored?
Yes in wp user.
Based on a custom field set on the user account they can register say up to 4 family member tickets but any number of regular?
That is correct.
Apologies for the delayed reply, we had to switch gears to make sure EE4 was ready for PHP8.
I looked into doing this and it will need an additional filter added to the core plugin to allow for it and I have created a pull request to add it in.
I will open a discussion on this as we may be able to implement this feature using a support token if you are still interested?
Hi, yes that would make our lives easier. Much appreciated.
Viewing 4 reply threads
The support post ‘Ticket count based on custom user field’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.