Thread: 2 Address Lines
View Single Post
  #17  
Old 08-17-2004, 06:22 PM
 
wallachee wallachee is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 102
 

Default

I've had this mod running for a while, but I have one issue with the mod....

In my order invoice, I use the line...

{$order.s_address2}


The problem is that if someone doesn't have a second address line, the line is left blank. For Example:

John Does
111 John Lane

John, MN 11111


Is there an if else statement I can write into the template to make it so the line appears only if it isn't blank? For example a statement that does this...


{ if address line two contains data }
display data
{else}
don't display line
{if}

Thanks for any help.
Reply With Quote