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)
|