# Buyer messages

> Change the text buyers read next to the date in Delivery Date for Shopify: built-in in 33 languages, eight placeholders, your own for any message.

Buyers read a headline with the date and, on the product page and in the cart, a second line below it. All four messages come built in, and you can change any of them in every language of your store.

## The four messages

| Message           | Used for                                                                                  | Built-in English                         |
| ----------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------- |
| Range of dates    | The headline when the style is a range                                                    | Delivery between \{from\} and \{to\}     |
| Single date       | The headline for one date, or when the earliest and latest date match                     | Estimated delivery: \{date\}             |
| Cut-off countdown | The second line on the product page and in the cart while the order can still leave today | Order within \{countdown\} to ship today |
| After the cut-off | The second line on the product page and in the cart at any other time                     | Ships \{date\}                           |

In **After the cut-off**, `{date}` is the day the order ships. Checkout and the Thank you and Order status pages show only the headline.

## Built-in languages

The app has built-in text in 33 languages: Arabic, Bulgarian, Chinese (Simplified and Traditional), Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hebrew, Hungarian, Indonesian, Italian, Japanese, Korean, Latvian, Lithuanian, Norwegian, Polish, Portuguese (Portugal and Brazil), Romanian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian and Vietnamese. It's the same set as in Address Validator. The 33 count languages, not language codes: Portuguese comes for Portugal and Brazil, Chinese as Simplified and Traditional, and Norwegian answers to both `no` and `nb`, so the built-in text covers 37 codes.

The built-in text in five of them:

| Language | Range of dates                           | Single date                          |
| -------- | ---------------------------------------- | ------------------------------------ |
| English  | Delivery between \{from\} and \{to\}     | Estimated delivery: \{date\}         |
| German   | Lieferung zwischen \{from\} und \{to\}   | Voraussichtliche Lieferung: \{date\} |
| French   | Livraison entre le \{from\} et le \{to\} | Livraison estimée : \{date\}         |
| Spanish  | Entrega entre el \{from\} y el \{to\}    | Entrega estimada: \{date\}           |
| Italian  | Consegna tra \{from\} e \{to\}           | Consegna prevista: \{date\}          |

| Language | Cut-off countdown                                             | After the cut-off      |
| -------- | ------------------------------------------------------------- | ---------------------- |
| English  | Order within \{countdown\} to ship today                      | Ships \{date\}         |
| German   | Innerhalb von \{countdown\} bestellen – Versand noch heute    | Versand am \{date\}    |
| French   | Commandez d'ici \{countdown\} pour une expédition aujourd'hui | Expédition le \{date\} |
| Spanish  | Pide en menos de \{countdown\} y se envía hoy                 | Se envía el \{date\}   |
| Italian  | Ordina entro \{countdown\} e spediamo oggi                    | Spedizione \{date\}    |

## Languages at a glance

Only the messages buyers read come in 33 languages. The app's pages in your Shopify admin and these docs come in five.

| Part                                   | Languages                                                                                                                                                                   |
| -------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text buyers read                       | 33 built in, plus your own for any message in every language your store publishes. A message without either uses your English text, else the built-in English.              |
| Dates and the countdown                | In the buyer's language, also outside the 33.                                                                                                                               |
| The app in your Shopify admin          | English, German, French, Spanish and Italian, following your admin's language. Any other admin language shows English. Error messages from the app's server are in English. |
| Theme blocks in the theme editor       | Block names, settings and editor hints in the same five languages. Any other editor language shows English.                                                                 |
| The block in Shopify's checkout editor | Its name, **Estimated delivery**, is English in every language. The hints it shows in the editor come in the same five languages. Any other language shows English.         |
| These docs                             | English, German, French, Spanish and Italian.                                                                                                                               |

## Placeholders

Each placeholder works in all four messages. Type it exactly as shown, curly braces included, or pick it from the **Insert placeholder** menu in the field. `{countdown}` is empty once today's cut-off has passed.

| Placeholder   | In the menu            | Becomes                                                                                                                          |
| ------------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `{from}`      | First day              | The earliest arrival date                                                                                                        |
| `{to}`        | Last day               | The latest arrival date                                                                                                          |
| `{date}`      | Delivery date          | The single date: the earliest with **One date — the earliest**, otherwise the latest. In **After the cut-off**, the day it ships |
| `{dispatch}`  | Dispatch day           | The day the order leaves the location                                                                                            |
| `{days}`      | Delivery time          | The days on the way as a span, such as 2–4, or one number when both are the same                                                 |
| `{minDays}`   | Shortest delivery time | The fewest days on the way                                                                                                       |
| `{maxDays}`   | Longest delivery time  | The most days on the way                                                                                                         |
| `{countdown}` | Time left              | The time left before today's cut-off in the buyer's language, such as 3 hr 12 min                                                |

The menu lists the placeholders a message is made for under **Suggested**, such as `{from}` and `{to}` in **Range of dates**, and the others that fit it under **More**. Each entry also shows its value right now in that field's language, such as **First day · Tue, Nov 24**. The placeholder you pick goes at the end of your text.

**Preview:** below each field shows the message as buyers would read it, with the date an in-stock product would get right now, shipped to your store's own country. An empty field previews the built-in text. After today's cut-off, `{countdown}` shows an example, 3 hr 12 min. The preview and the values in the menu show while **Show delivery dates to buyers** is on.

A placeholder the app doesn't know, such as a typo, can't be saved. The field then says, for example, **\{dat\} can't be filled. Add placeholders from the Insert placeholder menu.**

## Changing a message

You can replace the built-in text of any single message, in every language of your store. Every message you leave alone keeps its built-in text.

<Steps>
<Step>
### Open Buyer messages

On the Overview, select **Buyer messages** under **Storefront**. The row shows how many messages have your own text, such as **2 custom messages**, or **Built-in texts** while none has.
</Step>

<Step>
### Find the message

**Messages** lists the four messages, each with its text in your store's primary language: yours, or the built-in text.

| Badge               | Meaning                                                                                                                                                                                                 |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Custom · German** | The message has your own text in one language, named in the badge. With more languages, the badge counts them, such as **Custom · 3 languages**.                                                        |
| **Custom**          | The message has your own text in every language of your store.                                                                                                                                          |
| **Not shown**       | **Range of dates** while the style on [Display](/docs/delivery-date/display) is one date, and **Cut-off countdown** while the countdown is off. The message appears as soon as you choose that setting. |
</Step>

<Step>
### Write your text

Select the message. The window has one field for each language added to your store, separated by dividers: your primary language first, such as **English (primary)**, then the others. Languages your store hasn't published are there too, marked **Unpublished**, so their text is ready when you publish them. If your store has no English, English appears only while it still holds your own text, so you can remove that text.

An empty field shows the built-in text in grey, and buyers read that text until you write your own.

| In each field             | What it does                                                                                                                                    |
| ------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **Preview:**              | Below the field, the message as buyers would read it right now. See [Placeholders](/docs/delivery-date/buyer-messages#placeholders).            |
| **Insert placeholder**    | The icon in the field. Opens the menu of placeholders and adds the one you pick.                                                                |
| **Use the built-in text** | The reset icon in the field, there only while the field has your own text. It empties the field, so the message goes back to the built-in text. |

Select **Done**. It stays off until you change a field, and while a field shows an error.
</Step>

<Step>
### Save

Select **Save** in the save bar. The change is written to your store right away, and pages with a block pick it up the next time they load.
</Step>
</Steps>

Each message can have up to 200 characters and can't contain the `<` character.

## Back to the built-in texts

**Use built-in texts** at the top of the page empties your own text in every message and every language. Select **Save** in the save bar to keep the change, or **Discard** to undo it.

## Which text a buyer sees

Each message falls back on its own: your text for one message never changes the others, and a message you haven't changed shows the built-in text in the buyer's language. The app uses the first of these that exists for the message:

1. Your text for the exact language, such as Portuguese (Brazil)
2. Your text for the language, such as Portuguese
3. The built-in text for that language
4. Your English text
5. The built-in English text

The product page and the cart use your storefront's language. Checkout and the pages after the purchase use the checkout's language. The dates always follow the buyer's language, even when the text falls back to English.