# QR code in the order confirmation email

> How to enable the order QR code in the confirmation email, what changes and how your team uses it from the Orders list.

## QR code in the order confirmation email

## QR code in the order confirmation email

Lueira can add a **QR code** to the order confirmation email your customers receive. The code uniquely identifies the order, so that booking can be located instantly as soon as the code is read, without having to search for it by hand.

[▶ QR code in the order confirmation email](https://help.lueira.com/es/videos/97326ae5-a84a-4bbf-a2c6-c76db00575bc)

### Where to enable it

**Path:** Settings → QR code and Apple/Google Wallet.

From this same screen you can also enable the "Add to Apple Wallet" / "Add to Google Wallet" buttons in the confirmation email — they are explained in [Apple Wallet and Google Wallet in the order confirmation email](lueira-guide:594531dc-5909-4bb3-9a82-0cbc3c7a8eea?locale=en).

![](https://media.support.lueira.com/images/169934dad68c96bf5bd907c669a2142b.png)

Turn on the **Order QR code** switch and click **Save**.

![](https://media.support.lueira.com/images/63aa05fe6ba023eea1072dc4024fac63.png)

### What changes once it is enabled

- The order confirmation email (the one sent automatically when an online booking is confirmed, or the one you send manually from the order) includes an image with the order's QR code.

![](https://media.support.lueira.com/images/6158e80a60d1a35a9342a22bafd2d866.png)

- The change only affects emails sent **after the switch is turned on**: confirmation emails already sent before are not modified or resent on their own.
- If your online store has a confirmation page after payment, the same switch enables the button to print/view the order's QR code there.

### How to scan the order

From the **Orders** list, the **Scan order** button (at the top right of the list) opens a window to read the order's QR code and locate it instantly, without having to search for it by hand.
​

![](https://media.support.lueira.com/images/a83ac73f2d77e2f358273e81070902d6.png)

The window offers three ways to read the code, which you switch between with the icons at the top:
​

![](https://media.support.lueira.com/images/a2eb6f8fec4db76a25235f08cb7e6762.png)

- **Scanner** — for a physical barcode/QR reader (USB or Bluetooth) connected to the computer; the reader "types" the code just as if you typed it.
- **Camera** — uses the device's camera (the computer's webcam, or the camera of a tablet or phone) to read the QR by pointing it at the email on the screen or at a printed copy. On tablets and phones with a touch screen it is the mode that opens by default (if the browser allows it); on a computer you have to select it manually with the camera icon.
- **Manual** — type or paste the order code by hand and click Search.

Lueira remembers the last mode used on that device/browser, so you do not have to choose it again each time.
​

### If you have your own template for the order confirmation

If your account uses Lueira's standard template for the *Order confirmation* email (you have not created your own template for that type of email), the QR code is added automatically when you turn on the switch, without you having to touch anything else.
​

If, on the other hand, you have created your own *Order confirmation* template (from the standard view or from the advanced editor of [Communications](lueira-guide:8504c7ab-5cd8-499d-b222-69dd2ac9f632?locale=en)), you will have to insert the QR code block into that template yourself, just as you do with other variables such as `[products_info]` — check the editor's **Variable picker** or manually add `[order_qr_code]` at the point in the template where you want the image to appear.
​

If you also have Apple Wallet or Google Wallet enabled, add the `[order_wallet_buttons]` block as well — it is explained in [Apple Wallet and Google Wallet in the order confirmation email](lueira-guide:594531dc-5909-4bb3-9a82-0cbc3c7a8eea?locale=en).

![](https://media.support.lueira.com/images/480acb0ee6f42668ceda2fbba63d68b7.png)

### Related articles

- [Apple Wallet and Google Wallet in the order confirmation email](lueira-guide:594531dc-5909-4bb3-9a82-0cbc3c7a8eea?locale=en) — enable the Wallet buttons from the same settings screen.
- [Email settings in Lueira](lueira-guide:93c796ba-04da-4854-b2ca-3759bbb3c938?locale=en) — all the settings for transactional emails and templates.
- [Communications in Lueira](lueira-guide:8504c7ab-5cd8-499d-b222-69dd2ac9f632?locale=en) — overview of the Communications module and the advanced template editor.

Do you have questions about this feature? Write to us in the support chat and we will help you.

Source: https://help.lueira.com/en/articles/codigo-qr-en-el-email-de-confirmacion-de-pedido
