customer
The customer object contains information about a customer who has a customer account.
customer.id
Returns the id of the customer.
customer.name
Returns the full name of the customer.
customer.addresses_count
Returns the number of addresses associated with a customer.
customer.first_name
Returns the first name of the customer.
customer.last_name
Returns the last name of the customer.
customer.email
Returns the email address of the customer.
customer.orders
Returns an array of all orders placed by the customer. More info ›
{% for order in customer.orders %}
{{ order.id }}
{% endfor %}
#1101
#1102
#1103
customer.addresses
Returns an array of all addresses associated with a customer. See customer_address for a full list of available attributes. More info ›
{% for address in customer.addresses %}
{{ address.zip }}
{% endfor %}
53300
53000
47100
customer.default_address
Returns the default customer_address.