- CrystalCommerce Liquid Documentation for Designers

Customer Drop

This drop is included on this page in with the variable name {{ drop_name }}.

Properties

fullname
Full name of the customer. Example: “Summer Glau”
firstname
First name of the customer.
lastname
Last name of the customer.
email
Email address of the customer.
credit
Formatted amount of credit the customer has in their account. Example: “$13.50”
phone
Phone number of the customer.
logged_in?
Returns true if the customer is currently logged in, false otherwise.
orders
Returns a list of completed orders as Order Drops.
registration_date
Returns the date on which the customer registered in the format of “MM/DD/YYYY” Example: “03/14/2011”
addresses
Returns a list of addresses the customer has saved to their account as Address Drops
wishlist
Returns a list of products the customer has wishlisted as Product Drops
eligible_rewards
Returns a list of coupon rewards that the customer can use as Coupon Drops. Returns an empty list if the user is not logged in.
custom_fields
Returns a list of Customer Field Drops that the client supports. Examples may include a drop for Company Name. These Customer Field Drops have everything you need to render form elements/displays of the custom fields.
locale
Locale code for the customer. Example: “en”