Thread
:
common if/then modifications I make to x-cart...
View Single Post
#
165
12-16-2013, 02:23 AM
Jon
X-Guru
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
Re: common if/then modifications I make to x-cart...
That if/else statement should work for all categories on all x-cart versions without fail. Usually I'll do the ID though just to be extra safe:
Code:
{if $main eq "catalog" AND $current_category.categoryid ne ""}Show Text{/if}
Jon
View Public Profile
Visit Jon's homepage!
Find all posts by Jon