Thread: 2 Address Lines
View Single Post
  #18  
Old 08-17-2004, 07:32 PM
  1CNS's Avatar 
1CNS 1CNS is offline
 

Advanced Member
  
Join Date: Mar 2004
Location: Los Angeles, CA, USA
Posts: 45
 

Default

Yeah, I should have been more complete in my post. In customer_details.tpl, use something like this. I used the variable company for the 2nd address line, but if you did something else, change this code accordingly:

Code:
{$userinfo.b_firstname}{$userinfo.b_lastname} {$userinfo.b_address} {if $userinfo.company ne ""} {$userinfo.company} {/if} {$userinfo.b_city}, {$userinfo.b_state} {$userinfo.b_zipcode}
__________________
www.funkymart.com
x-cart 4.2.1 [linux]
Reply With Quote