#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
Additional Info:
#if( $customer.userfield1 ) $customer.userfield1The billing address is:
$billingAddress.getAddress1()
#if ( $billingAddress.getAddress2() && $billingAddress.getAddress2() != "" )
$!billingAddress.getAddress2()
#end
$!billingAddress.getCity(), $!billingAddress.getState() $!billingAddress.getZipCode() $!billingAddress.getCountry()
Contact information
Email: $!customer.email
Phone: $!customer.phone1
Fax: $!customer.fax