Support

Home Forums Event Espresso Premium Add Event Tickets and Venues from Front End

Add Event Tickets and Venues from Front End

Posted: March 8, 2019 at 1:41 pm


Whiskydo

March 8, 2019 at 1:41 pm

I’m building a custom front end form to add events. I managed the event add and the ACF fields added to it but I’m struggling on how to add tickets and venues. Which is the DB collection in which they are stored? Do you have some hints to take the correct direction?


Tony

  • Support Staff

March 13, 2019 at 7:30 am

Hi there,

Front end events is not something we support so we don’t have any examples of doing this at this time.

Which is the DB collection in which they are stored?

There are multiple relationships with datetimes, tickets and so on, adding those directly to the database is going to require you have a full understanding of all of those relationships and update them accordingly.

I recommend you use the EE model system to create your tickets/datetimes:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/G–Model-System/using-ee4-model-objects.md

You will still need an understanding of the above but it helps.

The only hints I can give you is to view how EE itself creates/updates its datetimes/tickets using the models and then follow that. For example look at how datetimes are updated/created HERE and tickets HERE.

Is that what you are looking for?


Whiskydo

March 13, 2019 at 3:34 pm

Thanks a lot Tony!
This is exactly what I was searching for.
I already approached it looking directly at the DB but some code examples are sure better!
I will dive into your suggestions to find the correct solution for my use case.

thanks again!


Tony

  • Support Staff

March 14, 2019 at 3:58 am

You’re most welcome 🙂

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 5 days, 13 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!