Magento Commerce, 2.2.x
Customer Address Templates

You can modify the template that controls the format of customer billing and shipping addresses that appear on printed invoices, shipments, and refunds, as well as in the addresses book of the customer account. If you need to include additional information, you can create custom attributes that are associated with the customer account and address, and incorporate them into the template.

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, select Customer Configuration.
3. Click to 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.