Create a customer account
To book, you need to know the customer’s name . An example flow might look like the following. If a member is not logged in, we show both
- a login form for returning customers, and
- a registration form for new customers
<?php
if (!perch_member_logged_in()) {
// Returning customer login form
perch_event_login_form();
// New customer sign up form
perch_event_registration_form();
}
?>
If you wanted to skip this step for logged in customers, you could redirect them to the next step at the top of your page:
<?php
if (perch_member_logged_in()) {
perch_events_calendar();
}
?>
Once a customer is signed in, you can show them the events calendar/listing for booking.