View Single Post
  #33  
Old 01-10-2009, 11:49 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: help with if then statment for detailed description

Hi Scott -

If you are using the code that I posted - then the if/than statement you posted is wrong - I did not put the order_by into an array called cat - so instead of

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

use

{if $cat_order_by gt 4 and $cat_order_by lt 41}

If it still does not work - try Jon's code. It should work as well.

If you still have issues - post again - and I can offer more suggestions for how to debug - by checking the smarty variables.


__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote