View Single Post
  #5  
Old 11-11-2011, 05:02 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: New section with popular categories

You might try something like this in common_files/customer/categories.tpl...
Code:
{foreach from=$categories_menu_list item=c name=categories} {if $categories[cat_num].categoryid neq XXX} <li{interline name=categories}><a href="home.php?cat={$c.categoryid}" title="{$c.category|escape}">{$c.category|amp}</a></li> {/if} {/foreach}
You should be able to get the cat_num and cat id from the "Categories" section in admin.

There are 3rd party mods that will hide categories.

Check this thread for a possible solution....
http://forum.x-cart.com/showthread.php?t=44414

You might check this thread for a different solution...
http://forum.x-cart.com/showthread.php?t=52493&page=2
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote