Support

Home Forums Event Espresso Premium Need to add custom field on backend

Need to add custom field on backend

Posted: March 6, 2019 at 5:37 am

Viewing 1 reply thread


ChesWine

March 6, 2019 at 5:37 am

Hello Team,

I want to add one custom text box in event ticket after textarea ( https://www.screencast.com/t/bopKo8WH ) and also we want to display this textbox value on front-end over here https://www.screencast.com/t/4S1gnWAwH

Would you please provide me logic/links/hooks for this?

Thanks.


Tony

  • Support Staff

March 13, 2019 at 7:12 am

Hi there,

There’s a hook ‘fired’ directly after the ticket description (the text area) call AHEE__event_tickets_datetime_ticket_row_template_after_desc

You can use that action to add your custom field, remember you’ll need to hook into save_post to save your value.

Displaying the value on the ticket selector is going to be a little more tricky, the filter we have for that location is FHEE__ticket_selector_chart_template__do_ticket_entire_row which is passed the entire HTML row for the ticket, you’re going to need to add your own logic to determine the correct location to output your field.

Viewing 1 reply thread

The support post ‘Need to add custom field on backend’ 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.

Event Espresso