View Single Post
  #3  
Old 12-01-2007, 05:38 AM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: template editing question

Hrmmm, ok, This is what I have now:
Code:
<table><tr><td> {$order.s_firstname} {$order.s_lastname}<br /> {$order.s_address} {$order.s_address_2}<br /> {$order.s_city}, {$order.s_statename} {$order.s_zipcode}<br /> {$order.s_countryname}<br /> {if $_userinfo.default_fields.phone ne ""}{$order.phone}<br />{/if} {if $_userinfo.default_fields.fax ne ""}{$order.fax}<br />{/if} {if $_userinfo.default_fields.email ne ""}{$order.email}<br />{/if} {if $_userinfo.default_fields.url ne ""}{$order.url}<br />{/if} </td></tr></table>

I'm testing this by viewing a previous order through admin area and clicking on "print invoice". If my customer has added just an email address, I'm getting 2 blank spaces between the country and email. I thought with the ne "" it would not add the return spaces?
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote