View Single Post
  #8  
Old 01-05-2013, 12:08 AM
 
sabinudash sabinudash is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 66
 

Default Re: which file to edit ?

Quote:
Originally Posted by cherie
You can try something like:

Code:
{if $cat eq X or $current_category.parent eq X}

Thanks cherie. I tried as following. But it did not work.

{if $cat eq "x" or $current_category.parent eq "x"}
{include file='customer/fts_featured_products.tpl' group='groupname'}
{/if}

This shows featured products for x category but not for the subcategories of x. I appreciate any other suggestions.

Thank you.
__________________
X-Cart 5.3.3.4 Multivendor
X-Cart 5.3.3.4 Business (Testing)
Reply With Quote