Customer Info
This tag pair provides a simple method of accessing customer data that has been saved to SESSION* using save_customer_info_form or update_cart_form. If you have a multi-page checkout, this tag paired with save_customer_info_form makes it easy to collect and reuse customer information throughout the customer's shopping experience.
Each input listed in save_customer_info_form has a matching output variable here. Each variable is prefixed with customer_ to avoid name collision with ExpressionEngine's member profile variables and other custom_fields used in your channels.
Please note: This tag does not output information stored using
[ExpressionEngine's][ee] member profile custom fields. If you prefer to allow
your customers to save their information long term the member profile is
a great option.
Table of Contents
Variables
In addition to the variables listed here, you may also use any of the Global Tag Variables.
- customer_first_name
- customer_last_name
- customer_address
- customer_address2
- customer_city
- customer_state
- customer_zip
- customer_company
- customer_country
- customer_country_code
- customer_region
- customer_phone
- customer_email_address
- customer_shipping_first_name
- customer_shipping_last_name
- customer_shipping_address
- customer_shipping_address2
- customer_shipping_city
- customer_shipping_state
- customer_shipping_zip
- customer_shipping_company
- customer_shipping_country
- customer_shipping_country_code
- customer_shipping_company
- customer_ip_address
- customer_weight_unit
- customer_language
- customer_use_billing_info
- customer_description
- customer_card_type
- customer_expiration_month
- customer_expiration_year
- customer_po_number
- customer_card_code
- customer_CVV2
- customer_issue_number
- customer_transaction_type
- customer_bank_account_number
- customer_check_type
- customer_account_type
- customer_routing_number
- customer_begin_month
- customer_begin_year
- customer_bday_month
- customer_bday_day
- customer_bday_year
- customer_currency_code
- customer_shipping_option
- customer_success_return
- customer_cancel_return
- custom_data:your_data_field_name
customer_first_name
{customer_first_name}
Kingcustomer_last_name
{customer_last_name}
Randorcustomer_address
{customer_address}
1 Miro Waycustomer_address2
{customer_address2}
Turret 1customer_city
{customer_city}
Eterniacustomer_state
{customer_state}
ETcustomer_zip
{customer_zip}
63303customer_company
{customer_company}
Mattelcustomer_country
{customer_country}
United Statescustomer_country_code
{customer_country_code}
USAcustomer_region
{customer_region}
Trondheimcustomer_phone
{customer_phone}
555-555-5555customer_email_address
{customer_email_address}
[email protected]customer_shipping_first_name
{customer_shipping_first_name}
Queencustomer_shipping_last_name
{customer_shipping_last_name}
Marlenacustomer_shipping_address
{customer_shipping_address}
1 Miro Waycustomer_shipping_address2
{customer_shipping_address2}
Spire 12customer_shipping_city
{customer_shipping_city}
Eterniacustomer_shipping_state
{customer_shipping_state}
ETcustomer_shipping_zip
{customer_shipping_zip}
63303customer_shipping_company
{customer_shipping_company}
Mattelcustomer_shipping_country
{customer_shipping_country}
United Statescustomer_shipping_country_code
{customer_shipping_country_code}
USAcustomer_shipping_company
{customer_shipping_company}
Mattelcustomer_ip_address
{customer_ip_address}
192.168.1.1customer_weight_unit
{customer_weight_unit}
lbscustomer_language
{customer_language}
encustomer_use_billing_info
{customer_use_billing_info}
Yescustomer_description
{customer_description}
Equipment Purchasecustomer_card_type
{customer_card_type}
Visacustomer_expiration_month
{customer_expiration_month}
01customer_expiration_year
{customer_expiration_year}
12customer_po_number
{customer_po_number}
123456customer_card_code
{customer_card_code}
123customer_CVV2
{customer_CVV2}
1234customer_issue_number
{customer_issue_number}
123customer_transaction_type
{customer_transaction_type}
Digital Goodscustomer_bank_account_number
{customer_bank_account_number}
123456789customer_check_type
{customer_check_type}
Commercialcustomer_account_type
{customer_account_type}
Checkingcustomer_routing_number
{customer_routing_number}
0812345customer_begin_month
{customer_begin_month}
02customer_begin_year
{customer_begin_year}
09customer_bday_month
{customer_bday_month}
08customer_bday_day
{customer_bday_day}
02customer_bday_year
{customer_bday_year}
75customer_currency_code
{customer_currency_code}
USDcustomer_shipping_option
{customer_shipping_option}
Groundcustomer_success_return
{customer_success_return}
/mysite/successcustomer_cancel_return
{customer_cancel_return}
/mysite/failcustomer_username
{customer_username}
sexyman48customer_screen_name
{customer_screen_name}
Nick Burnscustomer_password
{customer_password}
mooove!!!1!customer_password_confirm
{customer_password_confirm}
mooove!!!1!customer_create_member
{customer_create_member}
yescustomer_group_id
{customer_group_id}
5custom_data:your_data_field_name
Prints out custom data saved in the save_customer_info_form.
{custom_data:your_data_field_name}Examples
{exp:cartthrob:customer_info}
{customer_first_name}
{/exp:cartthrob:customer_info}