View Single Post
  #6  
Old 05-18-2008, 05:47 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Compact Attractive Invoice

Quote:
Should I just put it all in a Reply,

Absolutely. The forum is here to share code...

Tip: click on "go advanced" and you will see additional icons above the message input field... if you select some code, then click on the icon that looks like "#" - it will wrap CODE tags around your selected text. This is THE BEST WAY to post code, since the formatting is preserved,

For example, use this to ONLY show country if NOT the US:

Code:
{if $_userinfo.default_fields.b_country eq "United States"}{else} <tr> <td>{$order.b_countryname}</td> </tr> {/if}

Code:
{if $_userinfo.default_fields.s_country eq "United States"}{else} <tr> <td>{$order.s_countryname}</td> </tr> {/if}
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote