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.
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.
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?
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:
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.
Support forum for Event Espresso 3 and Event Espresso 4.