Thread
:
common if/then modifications I make to x-cart...
View Single Post
#
90
10-09-2008, 12:11 PM
Jon
X-Guru
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
Re: common if/then modifications I make to x-cart...
Quote:
Originally Posted by
anela2003
What if instead of
{if=a}html1{else}html2{/if}
you wanted something like this:
{if=a}html1
{if=b}html2
{else}html3{/if}
?
Code:
{if $x eq 'a'}html1{elseif $x eq 'b'}html2{else}html3{/if}
Jon
View Public Profile
Visit Jon's homepage!
Find all posts by Jon