Posted: November 21, 2016 at 12:52 pm
|
There is any way to allow users to buy non required tickets in a later purchase after they bought a required one for a event? Right now in my tests if i try to buy the extra tickets in a second purchase EE will not check if they already bought the required one and force the user to buy the same ticket again. |
Hello, The required option for a ticket / pricing options applies for a specific registration session so it does not look at prior registrations that a guest has made. Are you trying to handle member and public registrations for an event? — |
|
Hi there, Currently EE does not limit/allow users to purchase tickets based on other purchases. It would be possible to do but will require some custom development to add the functionality. If you are not currently working with a developer I would recommend contacting one of the developers listed here: |
|
|
We have developers here, can you shine a light for us in a direction to start doing this custom development? Would a hook suffice for that or do we need to dive deeper into the EE code to do those changes? |
Note we do not provide any support for custom development, but I can point you in the direction I would try. Within the ticket selector there is the hook:
Through that you can determine if each individual ticket should display. As you have the EE4 Everything license you can take a look within the EE4 User Integration add-on for an example of how we use that hook to filter tickets based on capability. (Look within EED_WP_Users_Ticket_Selector.module.php at the Within the function you will need to pull the current users registration and confirm that have registered onto the event previously and that the ticket they purchased was the required ticket for the event. If they have you can check for the ticket ID and
That is true if the user does not alter the registration info when registering. If you register whilst logged in and use different details to your user account (first name, last name, email) then the registration will not be ‘tied’ to your user accounts EE_Contact and will not show |
|
The support post ‘buy non required tickets after buying a required one’ 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.