#set ( $customer = $cart.getCustomer() ) #set ( $shippingAddress = $customer.getShippingAddress() ) #if ( $content.customerClub && $customer.getUserName() ) Your $content.customerClub number is: $customer.getUserName() #end #if ( $cart.hasZeroSubTotal() ) #else #end #if ( $shippingAddress && $shippingAddress.getAddress1() ) #set ( $billingAddress = $customer.getBillingAddress() ) #else #set ( $shippingAddress = $customer.getBillingAddress() ) #end

$customer.getName()
#if( $customer.getName() != $customer.getCompany() ) $!customer.getCompany()
#end #if ( $customer.referenceNumber )

Customer Reference Number:
$customer.referenceNumber

#end #if ( $customer.userfield1 || $customer.userfield2 )

Additional Info:

#if( $customer.userfield1 ) $customer.userfield1
#end #if( $customer.userfield2 ) $customer.userfield2
#end #end ###$shippingAddress.getName()
Address:
$shippingAddress.getAddress1()
#if ( $shippingAddress.getAddress2() && $shippingAddress.getAddress2() != "" ) $!shippingAddress.getAddress2()
#end $!shippingAddress.getCity(), $!shippingAddress.getState() $!shippingAddress.getZipCode() $!shippingAddress.getCountry()

#if ( $billingAddress && $billingAddress.getAddress1() )

The billing address is:

$billingAddress.getAddress1()
#if ( $billingAddress.getAddress2() && $billingAddress.getAddress2() != "" ) $!billingAddress.getAddress2()
#end $!billingAddress.getCity(), $!billingAddress.getState() $!billingAddress.getZipCode() $!billingAddress.getCountry()

#end

Contact information
Email: $!customer.email
Phone: $!customer.phone1
Fax: $!customer.fax