View Single Post
  #4  
Old 01-23-2011, 07:26 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: If Statement for any page?

If every singl page will have its own different from the others offer you eithr have to do all the if/then lines or you can add extra field and use it for each product page to enter different value

Once you start with {php} in a template you have to use php syntax

{php}
code...
if (whatever) {
code
} elseif (whatever) {
code
} else {
code
}
{/php}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote