Liquid Template Variables - customer: Difference between revisions

From Spiffy Stores Knowledge Base
Jump to: navigation, search
Admin (talk | contribs)
Shawn (talk | contribs)
No edit summary
Line 10: Line 10:


Returns the full name of the customer.
Returns the full name of the customer.
customer.credit
customer.reset_password_token
customer.wholesale (boolean)
customer.full_name
customer.title_option_tags
customer.default_address
customer.addresses
customer.addresses_count
customer.orders
customer.orders_count
customer.recent_order
customer.total_spent
customer.new_address
customer.errors


== <code>customer.metafields</code> ==
== <code>customer.metafields</code> ==

Revision as of 15:24, 22 July 2015

The Customer object is available in order notification objects and in the Checkout Additional Content & Scripts section.

Reference

customer.email

Returns the email address of the customer.

customer.name

Returns the full name of the customer.


customer.credit customer.reset_password_token customer.wholesale (boolean) customer.full_name customer.title_option_tags customer.default_address customer.addresses customer.addresses_count customer.orders customer.orders_count customer.recent_order customer.total_spent customer.new_address customer.errors

customer.metafields

Return the metafields for the customer.

Metafields can only be managed using the Spiffy Stores API.