> ## Documentation Index
> Fetch the complete documentation index at: https://help.eaglecart.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recovery Template Variables, Defaults and Previews in Eaglecart

> See every variable you can use in Eaglecart abandoned checkout templates, how they differ between email and WhatsApp, how default templates work, and what the preview shows.

[Help Center](https://help.eaglecart.com/introduction.md)

[Marketing and discounts](https://help.eaglecart.com/marketing.md)

Template variables, defaults and previews

# Template variables, defaults and previews

Variables are placeholders in braces that fill in with real details when you send a reminder. This guide lists them, explains how email and WhatsApp use them differently, and covers defaults and previews.

## The variables

| Variable | Fills in | Example result |
| - | - | - |
| `{customer}` | The customer's name | Customer Name |
| `{total}` | The checkout total, in the region's currency | AED 250.00 |
| `{checkout}` | The link back to the customer's checkout | A link to your store |
| `{cart}` | A text list of the cart products | 1x Classic T-shirt - Black / M |
| Store name | Your store's name | My Store |
| Store email | Your store's email | [example@gmail.com](mailto:example@gmail.com) |
| Store phone or mobile | Your store's phone number | +971500000000 |
| Store address | Your store's address | Your store address |
| Store URL | Your store's web address | A link to your store |

In the email footer, the store details use `{store_name}`, `{store_address}`, `{store_phone}` and `{store_email}`. In other places, insert store details from the variable menu rather than typing them.

> [!WARNING]
>
> Always insert variables from the menu. If a variable is misspelled or renamed, it won't fill in and the customer sees the raw text.

## Email and WhatsApp use them differently

| | Email | WhatsApp |
| - | - | - |
| **Products** | Shown with images and names from the **Cart** settings. | Listed as text with `{cart}`. |
| **Link back** | Added to the buttons for you. | Add `{checkout}` to the message. |
| **Store details** | Logo, header and footer. | Insert them as variables if you want them. |
| **Formatting** | Full design: fonts, colors, layout. | Bold, italic and strikethrough. |

## Default templates

**Set as Default** marks a template as your default for its type, shown with a **(Default)** tag in the templates list. There's one default for email and one for WhatsApp. To change it, open another template of the same type, turn on **Set as Default** and save. The old default is replaced automatically.

Only **Active** templates can be picked when you send a reminder.

If you edit a template, the change applies to reminders you send afterwards. Reminders already sent aren't changed.

## Previews

* **In the template editor:** the email preview uses sample products to show the layout. The WhatsApp preview shows how your formatting will look.
* **In the send window:** the preview uses the real customer and checkout details, so you see what the customer will get.

Looking at a preview never sends anything. Messages are only sent when you click **Send Email** or **Send Now**.

## Common questions

**A variable showed as text in the message.** It was probably typed by hand or changed. Delete it and insert it again from the menu.

## Keep reading

* **Next:** [Tracking and analytics overview](https://help.eaglecart.com/marketing/tracking-and-analytics-overview.md): measure your marketing.
* [Create and customize email templates](https://help.eaglecart.com/marketing/email-recovery-templates.md): the email editor.
* [Create and customize WhatsApp templates](https://help.eaglecart.com/marketing/whatsapp-recovery-templates.md): the WhatsApp editor.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.