WPForms Blog

WordPress Tutorials, Tips, and Resources to Help Grow Your Business

How to Take Restaurant Reservations on Your WordPress Website

by Shahzad Saeed on Jul 31, 2017

Would you like to allow your customers to make online restaurant reservations? All you need to do is to create a WordPress form and integrate it with an online restaurant booking system like Planyo. In this tutorial, we’ll walk you through how to take restaurant reservations online by connecting your WordPress forms to Planyo.

Why Allow Online Booking?

A few benefits of creating an online reservation system for restaurants are…

  • Convenience: Your customers can easily reserve a table on the go.
  • More revenue: Online restaurant reservations help you fill more vacant seats, in turn, helping you make you more revenue.
  • Promote online: You can offer special discounts to regular customers who book online and increase brand loyalty and customer happiness.

Now let’s take a look at how to create a restaurant reservations system on your WordPress site.

1. Create a Simple Reservation Form

The first thing you need to do is to install and activate the WPForms plugin. Here’s a step by step guide on how to install a WordPress plugin.

Also, you’ll need to have a form created. See our tutorial on how to create a contact form in WordPress as an example to get started.

In this form, you may want to include the following fields.

  • Number of guests
  • Date/time
  • Name
  • Email

Now we’ll need to connect this form to your Planyo account.

2. Connect Your Form to Planyo

We’ll be using the Zapier addon to integrate your WPForms plugin with Planyo.

The Zapier addon lets you connect your contact forms to 500+ web apps including Planyo so that you can save your time by automating different tasks. You can learn how to connect WPForms with Zapier.

To activate the addon, you’ll need to go to WPForms » Addons.

Now let’s connect your form to Planyo.

The first thing you need to do is to log in to your Zapier account. Then, select Make a Zap in the top navigation. Next, you can begin to create your zap by selecting WPForms as your Trigger App. For screenshots of each step, you can check out our tutorial on how to get started with Zapier.

When you get to the Set up WPFroms Form Entry screen, select the form you just created. In our example, it is the Restaurant Reservation form.

restaurant reservation form

After this step, select Continue.  You’ll then be prompted to test your form’s connection to Zapier. Be sure to have at least one test entry on your form before fetching existing entries.

Now you should see a success confirmation message.

3. Set Up Your Planyo Integration

Now that you’ve connected Zapier to WPForms plugin, the next step is to connect your form to Planyo.

You’ll need to choose Planyo Online Booking as the action app.

planyo online booking

Next, you’ll be prompted to select a Planyo action. As we’re looking to create a reservation on Planyo when a form is being submitted on your site, you need to select Create Reservation.

create reservation

Then, you’ll be asked to connect your Planyo account with Zapier. Click Connect an Account and grant permission to Zapier to access your Planyo account.

connect planyo account

To authorize the account, you may need to create a new API key. Go to this page, and generate a new API key. After creating an API key, copy it and enter it in your Zapier account.

allow zapier to access planyo

Then, click Yes, continue. Then select Save+Continue.

In the Set up Planyo Online Booking Reservation step, you’ll need to specify your Resource ID and connect each contact form field to the appropriate Planyo field.

In the End date/time field, make sure to add +3h after selecting Start Date/Time field separated by a whitespace. This is a mandatory step because Planyo sets End date/time as a required step in Zapier.

planyo-booking

Then click Continue.

You may login to Planyo to check how the reservation entry is being added in Planyo.

planyo booked

Finally, you’ll need to name your Zap and turn it on, so future form entries will be automatically added to your Planyo account.

turn on zap

That’s it!

We hope this guide helped you to take online restaurant reservations from your website and manage them on Planyo.

If you enjoyed this article, you may also want to read how to create a custom support ticket form in WordPress.

What are you waiting for? Get started with the most powerful WordPress forms plugin today.

If you like this article, then please follow us on Facebook and Twitter for more free WordPress tutorials.

Comments

  1. The user does not see the status of available slots on the frontend, right?

    Is there any possibility with wp forms to do something like this:

    – Create a calendar input field with dates/times that are available and each slot can be booked – lets say 3 times.

    – Once somebody books a date/time, only two more bookings are available for that specific slot.

    As you already save the entries in WP, I assume this is not that difficult to provide it as an add on, would it?

    1. Hi Torben,

      We don’t currently have the ability to limit or restrict entries in the way you’re describing, though I agree it would be useful. I’ll add this to our feature request list to consider adding in the future 🙂

      Thanks for the suggestion!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.