Support

Home Forums Event Espresso Premium Adding Instructions in Step 2 of Registration Checkout

Adding Instructions in Step 2 of Registration Checkout

Posted: November 1, 2019 at 2:34 pm

Viewing 6 reply threads


sogtalks@gmail.com

November 1, 2019 at 2:34 pm

Events have two tickets available:

1) basically a Members RSVP – one only available to logged in member only (using capabilities)
2) Guest tickets – up to 10 at a time open availability (must register though)

I would like to add some instructional text

  • to explain to users that they should change the automatically populated user info in Attendee 1 if it is not appropriate – has been a big headache when a member has gone back to purchase additional tickets and used their own info in the Guest attendee field (now Attendee 1)
  • only add text if a specific ticket is selected (Guest ID 4)
  • and just above the Guest Ticket information

Can I do this?


Tony

  • Support Staff

November 4, 2019 at 2:36 am

Hi there,

to explain to users that they should change the automatically populated user info in Attendee 1 if it is not appropriate – has been a big headache when a member has gone back to purchase additional tickets and used their own info in the Guest attendee field (now Attendee 1)

Where exactly on the page do you want to add this text?

You could always disable that functionality using a snippet:

https://gist.github.com/joshfeck/f88109c99130f441438e759ae2c68074

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

only add text if a specific ticket is selected (Guest ID 4)

Possibly, but again, where exactly do you want to add this?

and just above the Guest Ticket information

This can mean a couple of different sections, can you add a screenshot showing where you want to add the details?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


sogtalks@gmail.com

November 4, 2019 at 2:22 pm

https://monosnap.com/file/PgkUltDEnagbV6qeqi9BHXd5qhtTic

In a perfect world the Member (or any specified ticket ID) could only have the Attendee Info for that specific ticket populated with the logged in users info whereas a guest ticket Attendee info would be blank.

I appreciate that the basic functionality should work but with the combination of Member and Guest tickets the users have come up with some amazing inputs and it prevents me from using the WP user update functionality.

Thank you.


Tony

  • Support Staff

November 8, 2019 at 5:47 am

I did some digging into this and there is a filter you can use to add additional ‘subsections’ to the registration form:

FHEE__EE_SPCO_Reg_Step_Attendee_Information___question_group_reg_form__question_group_reg_form

That filter is passed the question group form, the EE_Registration object, the question group and the current reg step.

So you can do something like this:

https://gist.github.com/Pebblo/12433f8c2431e496c4539fdb777fa409

Depending on how you want to limit when the additional subsection is included you could use the ticket name from the EE_Registration object, or pull the ticket from it then check if a capability is set on that ticket.


sogtalks@gmail.com

November 8, 2019 at 3:23 pm

Hi,

I gave that a try but it adds the instructions below the Attendee # title. I would like to add it once st the top of the list of Attendees for a ticket type.

So you would see:

NAME AND DESCRIPTION
Ticket Name
Instructions
Attendee 1
info
Attendee 2
info
Attendee 3
info

Thank you for your help.


Tony

  • Support Staff

November 21, 2019 at 8:41 am

I checked into this and there’s no hook you can use for this currently.

The hook above is the closest one that has a registration object passed to it so you know the current registration (and therefore ticket linked to that registration) and can conditionally output data based on it.

So currently the above is as close as you can get.


sogtalks@gmail.com

November 21, 2019 at 12:07 pm

Ok, Thank you for your efforts. Closed.

Viewing 6 reply threads

The support post ‘Adding Instructions in Step 2 of Registration Checkout’ 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