> For the complete documentation index, see [llms.txt](https://appfront.gitbook.io/portal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appfront.gitbook.io/portal/online-ordering/dine-in-and-table-number.md).

# Dine In & Table number

You can use Appfront's platform to have a customer enter their table number, and bring the meal directly to their table, alleviating the need for a waiter.

## Setup

In order to set up a dining option that will force a user to enter their table number you need to first mark "Ask for table code" in the setup section under Configure > Menu > Setup > Serving options:

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-M8A7GLPIdpGB5mAWj5r%2F-M8A9QzBxQ459z978Agz%2FTable%20code%20setup.png?alt=media\&token=00d95b33-9759-41a7-860a-353ad68dbb1e)

Now, in the location settings, scroll down to "Dine in table code ranges" and enter the range which you want to enable a customer to select a table.

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-M8A7GLPIdpGB5mAWj5r%2F-M8AA7W8WEUU6y_VuQjE%2FTable%20code%20location.png?alt=media\&token=8782e320-9430-4144-9eea-c37825aefe64)

If you have more than one range you can enter them with commas, for example if you have 101-118 on the main floor, and 201-207 on the second floor, you can enter in that field:

```
101-118,201-207
```

## Customer view

When a customer will select to dine in at that restaurant, they will have to enter the table number they are sitted at:

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-M8A7GLPIdpGB5mAWj5r%2F-M8AAsbR9ksEY-J6G89W%2Fskinnypizza.appfront.ai_find-location__servingOptionType%3Dsitdown_\(iPad%20Pro\).png?alt=media\&token=715b0e5e-3df4-4c58-a08f-adc6355b7541)

## Printing on the receipt

The table number will be printed on the receipt:

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-M8AAwhFgUeatwekE6Rx%2F-M8ACAmf_znaGbZ0yyxY%2Fimage.png?alt=media\&token=654796c8-d0b4-414a-b623-0c08fb6921f2)

## Creating a deep link to print on each table

Your URL template will consist of the following fields:

* [ ] Your website URL (for this example we will **YOUR.RESTAURANT.COM**
* [ ] Location id (**branchId**) - the location of this table - can be found in the online ordering site as a URL parameter: "branchId=LOCATION\_ID" \
  please read more here: [Create Link To Order From Specific Branch](/portal/online-ordering/create-link-to-order-from-specific-branch.md#getting-your-branch-id)
* [ ] Table number (**tableCode**) - the table code you want to open.

This is the URL template you'll need to use:&#x20;

```
https://YOUR.RESTAURANT.COM/order/?branchId=LOCATION_ID&servingOptionType=sitdown&tableCode=TABLE_CODE
```

For each link, please change:

1. **YOUR.RESTAURANT.COM**
2. **LOCATION\_ID**
3. **TABLE\_CODE**

to the correct values

In order to set this up, you'll need to create a QR code for each table (using <https://www.qrcode-monkey.com/>)

For example, if we are building the qr code for Bierstadtlager, with the following values:

1. **YOUR.RESTAURANT.COM** = bierstadtlager.appfront.ai
2. **LOCATION\_ID =** 5e77579e2f5d250e142de64a
3. **TABLE\_CODE** = 32

Switching these values will give us:

<https://bierstadtlager.appfront.ai/order/?branchId=5e77579e2f5d250e142de64a&servingOptionType=sitdown&tableCode=32>

![](https://3305729690-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LMC9-95h4Q1CvHx7JAZ%2F-McBVxB2ndZSy12ogqFN%2F-McBZ4aO40jqGTD1czfc%2Fimage.png?alt=media\&token=e24d6eb8-0dc9-4e55-85bf-16ac3394cffb)

You will be able to see the online ordering / app open directly in the dine in menu, with the table already chosen
