Re: common if/then modifications I make to x-cart...
Your very welcome.
As I said I don't know smarty, but if that code worked for you it is is worth bearing in mind that if it is part of a more complex if/then or elseif/then coding it is always a good idea to isolate that type of expression by enclosing it in brackets.
By that I mean your argument would look more like:-
{elseif ($cat > "249" and $cat < "291") [more code here]}
For example :-
{elseif ($cat > "249" and $cat < "291") or ($cat >= "300" and $cat <= "340") }
Cheers
__________________
Version = X-Cart 4.1.3 Gold
Status - Closed
Addon: Magnifier
OS = Windows
Western Australia
|