address - aareano/ifshop-wiki GitHub Wiki
This drop corresponds to Shopify's.
missing properties
none
additional properties
none
- address.address1
- address.address2
- address.city
- address.company
- address.country
- address.country_code
- address.first_name
- address.last_name
- address.name
- address.phone
- address.province
- address.province_code
- address.street
- address.zip
address.name
Returns the values of the First Name and Last Name fields of the address.
Input
Hello, {{ address.name }}
Output
Hello, Bob Biller
address.first_name
Returns the value of the First Name field of the address.
address.last_name
Returns the value of the Last Name field of the address.
address.address1
Returns the value of the Address1 field of the address.
address.address2
Returns the value of the Address2 field of the address.
address.street
Returns the combined values of the Address1 and Address2 fields of the address.
Input
{{ address.street }}
Output
126 York St, Shopify Office
address.company
Returns the value of the Company field of the address.
address.city
Returns the value of the City field of the address.
address.province
Returns the value of the Province/State field of the address.
Input {{ address.province }} Output Ontario
address.province_code
Returns the abbreviated value of the Province/State field of the address.
Input
{{ address.province_code }}
Output
ON
address.zip
Returns the value of the Postal/Zip field of the address.
address.country
Returns the value of the Country field of the address.
Input
{{ address.country }}
Output
Canada
address.country_code
Returns the value of the Country field of the address in ISO 3166-2 standard format.
Input
{{ address.country_code }}
Output
CA
address.phone
Returns the value of the Phone field of the address.