View Single Post
  #20  
Old 01-08-2009, 03:09 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: help with if then statment for detailed description

{foreach from=$categories item=c}

I don't think $c is defined in product.tpl.

It is created in categories.tpl I believe.

in the product.tpl you may need to do something like:

{if $order_by.order_by gt 4 and $order_by.order_by lt 41}{/if}

that's if the SQL is correct. man I now have more questions than answers. not much help here.
__________________
xcart 5.1.2
Reply With Quote