Support

Home Forums Event Espresso Premium Guest attendance

Guest attendance

Posted: January 29, 2013 at 10:51 am

Viewing 3 reply threads


Mike Compton

January 29, 2013 at 10:51 am

Our club has dinners. Club members pay $25 for the dinner they can bring up to two guests. Guests cost $35. How do I create an event that only during a member registration is a guest registration prompted? I also need to ask for first and last name of any guest registrants entered.


Chris Reynolds

  • Support Staff

January 29, 2013 at 11:54 am

This is tricky, but it should be possible with some template editing. You’re going to need to create a separate event for the additional guests. I realize this isn’t the best solution as it will throw off your attendee numbers for the event, but this is the only way to have additional attendees at a different cost than the primary attendee on an event that only has a single price (member / non-member price is still considered one price).

Since you need to do a check for whether the attendee is a member, you’ll need to use the WordPress function is_user_logged_in(). In your registration_page_display.php template, add an is_user_logged_in check, to see if the user is logged in and, if so, display an [ESPRESSO_CART_LINK] shortcode for your other event for additional attendees. You’ll also need to switch your event to use the Multi Event Registration cart checkout for registration instead of the regular registration form.

http://codex.wordpress.org/Function_Reference/is_user_logged_in
https://eventespresso.com/wiki/shortcodes-template-variables/#add-to-cart


Mike Compton

January 29, 2013 at 12:35 pm

What if I didn’t check if the attendee was a member? What if we just used the honor system for that? Would that make it easier? I demoed another event product and I could add additional cart items for the registration I allowed 2 additional cart items and I made them answer the guest names for these items. Is there a way do to that here?


Josh

  • Support Staff

January 30, 2013 at 3:14 pm

Hi Mike,

If you wanted to use the honor system with the multi-price option, you could set up multiple price types, then move the registration into “cart-mode” so multiple price selections can be selected in the cart. Chris wrote up a tutorial here on how to do this:

https://eventespresso.com/wiki/multiple-events-registration-use-add-to-cart-link-instead-of-default-registration-form/

Viewing 3 reply threads

The support post ‘Guest attendance’ 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