Address
From Shopify Wiki
Address objects are usually found in order confirmation emails and similar.
Examples:
Format a address object for displaying in a confirmation email:
Shipping address:
{{ shipping_address.name }}
{{ shipping_address.street }}
{{ shipping_address.city }}, {{ shipping_address.province }} {{ shipping_address.zip }}
{{ shipping_address.country }}
{{ shipping_address.phone }}
Contents |
[edit]
Reference
[edit]
address.name
Name of the addressee. You can also use address.first_name and address.last_name to access the individual parts if you want to display the customer name with special formatting.
Example:
{{ billing_address.last_name }}, {{ billing_address.first_name }} => Luetke, Tobias
[edit]
address.street
Street address ( this is combined from address1 and address2 and can be used instead of those two seperate fields. )
[edit]
address.address1
First line if the address
[edit]
address.address2
Second line if the address
[edit]
address.company
Company if given
[edit]
address.city
City
[edit]
address.province
Province. Written out ( e.g. Oregon, British Columbia)
[edit]
address.zip
Zip or Postal code
[edit]
address.country
Country. Written out ( e.g. United States, Canada)
[edit]
address.phone
Phone number if supplied
