View Single Post
  #2  
Old 08-09-2010, 09:37 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default Re: Need If statement help!

Try changing your boolean constructs - your current method of using an "or" conjunction to test for "not equals" condition will not give you desired results.
Change:
Code:
{$userinfo.s_address} {if $po_address ne "" and ($cart.shippingid ne "122" or $cart.shippingid ne "51")}
to this:
Code:
{$userinfo.s_address} {if $po_address ne "" and ($cart.shippingid eq "122" or $cart.shippingid eq "51")}{else}DISPLAY WARNING{/if}
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote