Email variables

Overview

Use email variables to customize shopper emails for your specific scenarios.

Refer to the email list below to see each email theme and draft variables, their description, and preview values.

Requirements

Editing the 2Checkout emails requires using a variation of the Smarty version 3 syntax. Namely, instead of using { and } as delimiters, please use [% and %], as shown in the example below.

[%$FIRST_NAME_BILLING%] instead of {$FIRST_NAME_BILLING}

Customize theme and email variables

Customize theme variables to better reflect company-specific details in your emails, such as your logo, address, or support information.

To customize the variable values, follow the steps below.

1

Create or open a theme or draft

Create a new email theme (from scratch or from an existing one) or a new email draft.

2

Manage variables

Click the Manage variables button in the editor.

3

Modify test values

Modify the values in the Test value column according to your preferences.

  • You can undo the changes by clicking the Undo icon next to the value field.

4

Save and preview

Click Save and use the Preview feature to see how the new variable values will be displayed to your shoppers.

Use case: Customize support information

To customize the support information displayed in your emails, follow the next steps.

  1. Open the Email editor and click Manage variables.

  2. Find or search for the following email variables:

    • MERCHANT_SUPPORT_EMAIL

    • MERCHANT_SUPPORT_PHONE

  3. Modify the test values of these variables to reflect the changes you wish to perform.

  4. Click Save.

  5. Use the Preview feature to see how the new variable values will be displayed to your shoppers.

Last updated

Was this helpful?