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_first_name}
King

customer_last_name

{customer_last_name}
Randor

customer_address

{customer_address}
1 Miro Way

customer_address2

{customer_address2}
Turret 1

customer_city

{customer_city}
Eternia

customer_state

{customer_state}
ET

customer_zip

{customer_zip}
63303

customer_company

{customer_company}
Mattel

customer_country

{customer_country}
United States

customer_country_code

{customer_country_code}
USA

customer_region

{customer_region}
Trondheim

customer_phone

{customer_phone}
555-555-5555

customer_email_address

{customer_email_address}
[email protected]

customer_shipping_first_name

{customer_shipping_first_name}
Queen

customer_shipping_last_name

{customer_shipping_last_name}
Marlena

customer_shipping_address

{customer_shipping_address}
1 Miro Way

customer_shipping_address2

{customer_shipping_address2}
Spire 12

customer_shipping_city

{customer_shipping_city}
Eternia

customer_shipping_state

{customer_shipping_state}
ET

customer_shipping_zip

{customer_shipping_zip}
63303

customer_shipping_company

{customer_shipping_company}
Mattel

customer_shipping_country

{customer_shipping_country}
United States

customer_shipping_country_code

{customer_shipping_country_code}
USA

customer_shipping_company

{customer_shipping_company}
Mattel

customer_ip_address

{customer_ip_address}
192.168.1.1

customer_weight_unit

{customer_weight_unit}
lbs

customer_language

{customer_language}
en

customer_use_billing_info

{customer_use_billing_info}
Yes

customer_description

{customer_description}
Equipment Purchase

customer_card_type

{customer_card_type}
Visa

customer_expiration_month

{customer_expiration_month}
01

customer_expiration_year

{customer_expiration_year}
12

customer_po_number

{customer_po_number}
123456

customer_card_code

{customer_card_code}
123

customer_CVV2

{customer_CVV2}
1234

customer_issue_number

{customer_issue_number}
123

customer_transaction_type

{customer_transaction_type}
Digital Goods

customer_bank_account_number

{customer_bank_account_number}
123456789

customer_check_type

{customer_check_type}
Commercial

customer_account_type

{customer_account_type}
Checking

customer_routing_number

{customer_routing_number}
0812345

customer_begin_month

{customer_begin_month}
02

customer_begin_year

{customer_begin_year}
09

customer_bday_month

{customer_bday_month}
08

customer_bday_day

{customer_bday_day}
02

customer_bday_year

{customer_bday_year}
75

customer_currency_code

{customer_currency_code}
USD

customer_shipping_option

{customer_shipping_option}
Ground

customer_success_return

{customer_success_return}
/mysite/success

customer_cancel_return

{customer_cancel_return}
/mysite/fail

customer_username

{customer_username}
sexyman48

customer_screen_name

{customer_screen_name}
Nick Burns

customer_password

{customer_password}
mooove!!!1!

customer_password_confirm

{customer_password_confirm}
mooove!!!1!

customer_create_member

{customer_create_member}
yes

customer_group_id

{customer_group_id}
5

custom_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}