View Single Post
  #1  
Old 09-20-2011, 09:06 AM
 
someguy03 someguy03 is offline
 

Member
  
Join Date: Aug 2010
Posts: 16
 

Default If statement with multiple categories

I am using this if statement:

{if $cat eq "264"}
Code
{else}
Code
{/if}

But I want to have category 264, 271, 275, etc. How can I format the statement to have multiple category numbers?

Also, how can I have a negative if statement? So I can tell something to NOT display if it is a certain category.
__________________
X-Cart version 4.4
Reply With Quote