View Single Post
  #166  
Old 12-16-2013, 02:26 AM
 
revolate revolate is offline
 

Newbie
  
Join Date: Dec 2013
Posts: 4
 

Default Re: common if/then modifications I make to x-cart...

Quote:
Originally Posted by Jon
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}

I have this below:

{if $main eq "catalog" AND $current_category.categoryid ne ""}
{include file="modules/Refine_Filters/customer_filter.tpl"}
{/if}

Trying to make the filter only work on the last categories the page with products showing in a list.

Having it on every category isn't what I need. (Hope I'm explaining my self right)

Cheers guys
__________________
4.5.2
Reply With Quote