Skip to main content

How to Set Up Online Food Ordering for Restaurants in WordPress

Do you want to set up online food ordering for your restaurant? Whether it’s a brand new venture, or you’ve been serving customers in person for years, offering food delivery can help boost your profits.

Setting up an online food ordering service may sound too technical. The good news is that it is quite easy to set up.

In this guide, we will share how to setup online food ordering for restaurants using WordPress, step by step.

Setting up online food ordering for restaurants

What You Need to Set up Online Food Ordering

You will need a website to set up online food ordering for your restaurant.

If you don’t have a website yet, don’t worry. You can easily start a website using WordPress, which is the best website builder in the world used by millions of small businesses.

Creating a website isn’t going to eat too much into your profit margin, either. Bluehost, one of WordPress’s recommended hosting providers, is offering our readers a great deal.

Basically, you can get a free domain name, free SSL, and a 60% off discount on web hosting.

→ Click Here to Get this Exclusive Bluehost Deal ←

Transparency Disclaimer: WPBeginner content is reader-supported, which means if you click on some of the links in this post, we may earn a small referral fee. Please know that we only recommend products that we use ourselves and/or believe will add value to our readers. See how WPBeginner is funded for more details.

There are loads of great WordPress themes for restaurants available. A theme is like a template for your website. Choosing a good one will help your site look professional and reputable, encouraging customers to order from you.

If you need some help setting up your website, take a look at our comprehensive step by step guide on how to start a website.

Adding Online Food Ordering to Your Website

Once you’ve got your WordPress website set up, you can easily add an online form so that customers can order food.

Now there are multiple ways to do this with WordPress.

However, the easiest way to do this is by using WPForms. It is the best WordPress form builder and allows you to easily create online forms on your website (no coding required).

First, you’ll need to install and activate the WPForms plugin. If you’re not sure how to do that, check out our full instructions on how to install a WordPress plugin.

Upon activation, you need to visit WPForms » Settings page to enter your license key. You can find this information under your account on WPForms website.

Enter your license key for WPForms

You’ll then want to install the ‘Form Templates Pack’ addon to make it as easy as possible to create your form. Note that you’ll need the ‘Pro’ level of WPForms to use this template.

To install the addon, go to WPForms » Addons. Scroll down to find the ‘Form Templates Pack Addon’ then click ‘Install Addon’ beneath it.

The 'Form Templates Pack' addon for WPForms

Next, go to WPForms » Add New page in your WordPress dashboard to create your online food ordering form.

Creating a new form using WPForms

Type in a name for your form. You can call it whatever makes sense to you. Customers won’t see this title unless you want them to.

Naming your online food order form

Next, scroll down the screen to the section titled ‘Additional Templates’ and select the ‘Takeout Order Form’. There are quite a lot of templates, so you might want to search for it.

Find and select the 'Takeout Order Form' template

Click on the template and your form will be automatically created for you.

The newly created takeout delivery form, with default fields

As you can see, this form is designed for pizza takeout. You can change it in any way you want, though. Simply click on a field (a part of the form) to edit it.

We’re going to edit the ‘What type of pizza would you like?’ field at the top of the form.

Editing a form field in WPForms

You can change the label for the field. This is the question or prompt for the customer to answer. You can also change the choices and remove or add them using the (+) and (-) buttons.

Changing the label and options for a field

You can also add more fields to your form. For instance, you’ll likely want to add a field so customers can specify what time they want their delivery.

To add a field, click on the ‘Add Fields’ tab on the left-hand side of your screen. Scroll down to the ‘Fancy Fields’ section and find the ‘Date / Time’ field.

Drag and drop this field to wherever you want it on your form.

Adding a date / time field to WPForms

As before, you can click on the field to edit it. You’ll likely want to change the label. If you only accept same-day delivery orders, you’ll want to change the ‘Format’ to ‘Time’ only, too.

Changing the date / time field so that it only shows time

In the ‘Advanced’ options for the field, you can choose to change the different intervals offered. The options are 15 minutes, 30 minutes, or 1 hour.

It’s a good idea to make the ‘Address’ field for your form mandatory. By setting a field as ‘Required’, you prevent the customer from submitting the form until they complete it.

Just click on the ‘Address’ field to edit it, then check the ‘Required’ box on the left hand side of the screen.

Making the address a required field on your form

When you’ve finished creating your form, click ‘Save’ at the top of the screen before moving on to the next step.

Save your online food order form

Setting Up Notifications for Your Food Ordering Form

You’ll need to make sure that orders are coming through to the right people. WPForms automatically sends out an email to the administrator for your website, but that might not be where you want orders to go.

Click on the ‘Settings’ tab on the left-hand side of your screen. Click ‘Notifications’ and you’ll see the default notification on the right.

Viewing the notifications for your online food order form

You may want to change the ‘Send to Email Address’ so that it’s different from your website administrator’s email. You can simply delete {admin_email} and enter one or more email addresses here. Make sure you separate multiple email addresses with a comma.

Enter the email addresses you want the form to be sent to, separated with commas

You may also want to change the subject line so that your orders don’t all have the exact same subject. You can easily include the customer’s name in the subject line using Smart Tags.

Just click on ‘Smart Tags’ and scroll down to ‘Name’. Click on that and WPForms will insert the correct code for it into your subject line. In this case, that’s {field_id="3"}.

Change the email subject line for your notification

Once you’re happy with the notification, click ‘Save’ at the top of the screen.

Tip: WPForms saves form entries in the WordPress database, so don’t worry if you accidentally delete an order from your email inbox. To see all orders, go to WPForms » Entries in your dashboard. Click on the name of your form to view the orders.

You’ll likely also want to set up an email notification for your customers. You can do this by clicking the ‘Add New Notification’ button.

Click the 'Add New Notification' button to create a new notification

You’ll be prompted to enter a name for the notification. You can use whatever makes sense to you here. The customer won’t see it.

Entering a name for the notification that'll be sent to the customer

To send the email to the customer, delete {admin_email} from the ‘Send To Email Address’ box and use ‘Show Smart Tags’ to select the ‘Email’ field.

Setting up the customer receipt so that it will be emailed to the customer

Next, you’ll want to change the email subject line and your details. Simply type in whatever you want to use here.

Edit the name and email address that customers will see on your emails

You may also want to edit the email that the customer receives. By default, all it will show is the information they entered. You could add a message like this:

Editing the text of the email that your customers will receive

Once you’re happy with the customer notification, click ‘Save’ at the top of the screen.

Tip: To get back to the first notification you were editing, just scroll down.

Editing the Confirmation Message Your Customer Sees

When your customer completes the form, WPForms will show them a message to confirm that the form was submitted successfully.

You can edit this message by going to Settings » Confirmations. Just type whatever message you want into the box. You can even use the visual editor to format this message.

Creating a confirmation message that your customer will see after submitting the form

You can also choose to change the ‘Confirmation Type’ and send the customer to a thank you page, if you want.

Taking Payment Through Your Food Ordering Form

The standard takeout form isn’t set up for payments. That’s fine if you only accept cash on delivery. However, in some situations you might prefer to take online payment upfront from the customer.

If you want to take payments, you’ll need to set up your form with special fields that can calculate how much the customer owes. You’ll also need to integrate your form with a payment processor such as PayPal.

First, go to the ‘Fields’ tab to change your form itself. Click ‘Add Fields’ and scroll down to the ‘Payment Fields’ section. Replace any of your fields that list prices with one of the ‘Item’ fields.

The various payment fields available in WPForms

On our form, we’ve removed the original ‘How many people is the meal deal for?’ field that we were using. We’ve replaced it with the ‘Multiple Items’ payment field.

Adding a multiple items payment field to your form

When you’re using payment fields on your form, you need to make sure you include a ‘Total’ field too. This is so your form can show the customer the total they’ll pay.

Again, simply drag and drop the ‘Total’ field from ‘Payment Fields’ to wherever you want it on your form.

Adding the 'Total' field to your order form

Make sure you save your form after making changes.

Next, you’ll need to choose a payment processor to use with your form. WPForms integrates seamlessly with PayPal and Stripe. To add either of these, go to WPForms » Addons in your WordPress dashboard.

We’re going to use the ‘PayPal Standard Addon’ for our form. Find it and click the ‘Install Addon’ button.

Installing the PayPal addon for WPForms

Now, go back to your food ordering form, under WPForms » All Forms.

Click on the ‘Payments’ tab of your form and select the payment integration you want to use.

Select the payment service(s) to integrate with your form

Make sure you check the box ‘Enable PayPal Standard payments’ to activate this feature for your form.

Next, you’ll need to enter the PayPal email address that you’re using for your restaurant. Leave ‘Mode’ set to ‘Production and ‘Payment Type’ set to ‘Products and Services’.

The PayPal payment settings page for your form

You can change ‘Shipping’ to ‘Don’t ask for an address’ if you want, as the customer will have already filled in their address on the order form.

Click ‘Save’ at the top of the screen.

Your form will now automatically redirect customers to PayPal after they submit their order.

Adding the Online Food Ordering Form to Your Site

Finally, you need to add the form you’ve created to your website.

First, you’ll need to choose an existing page or create a new page for the form to go on. To create a page, go to Pages » Add New in your WordPress dashboard.

Give your page a title. Click on the (+) sign to create a new block. Select the ‘WPForms’ block from the ‘Widgets’ section or type ‘WPForms’ into the search bar.

Adding your online order form to a page on your website

Next, you’ll need to select your form from the dropdown list.

Selecting your online order form from the the WPForms dropdown list

It’ll then be automatically added to your page. Simply publish (or update) your page to put the form live on your website.

We recommend testing out your form to make sure it’s working as expected. Check that you receive the email notification. If not, follow our instructions to fix the WordPress not sending email issue.

We hope this article helped you learn how to set up online food ordering for restaurants. You might also be interested in our article on how to create a business email, and how to get a virtual business phone number for your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

WordPress Design, WordPress Development, cPanel Hosting, Web Design, Web Development, Graphic Design, Mobile Development, Search Engine Optimization (SEO) and more.