Jump to content


This topic is now archived and is closed to further replies.


Display an Include on Subcategory, NOT parent category

Recommended Posts

Hey guys, really hoping someone can help me with this! I have an include that I want displayed on Subcategory pages only. So basically, if category is a parent, do NOT display, if category HAS a parent, display. Make sense? I tried using this...

if ($category_depth == 'nested' && isset($HTTP_GET_VARS['cPath'])) {


But its not enough, and doesn't work. Does anyone have any ideas how to fix that?


Thanks so very much, you guys are all awesome here.



Share this post

Link to post
Share on other sites