Customer Address Templates

You can modify the template that determines the format of customer billing and shipping addresses that appear on printed invoices, shipments, and refunds, as well as in the address book of the customer account.

Example 1: Text Templates

{depend address attribute code} a space, a character, or UI label {/depend};
{if address attribute code}{var address attribute code} a space, a character, or UI label};
{/if}

Example 2: JavaScript Template

#{address attribute code} or User Interface label #{address attribute code}

Address Templates

To change the order of address fields

  1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration.

  2. In the panel on the left, under Customers, choose Customer Configuration.

  3. Expand the Address Templates section. The section includes a separate set of formatting instructions for each of the following:

    • Text
    • Text One Line
    • HTML
    • PDF
  4. Edit each template as needed, using the examples for reference.

  5. When complete, tap Save Config.