View Single Post
  #1  
Old 04-17-2014, 05:27 AM
 
IFO IFO is offline
 

Member
  
Join Date: Nov 2013
Posts: 24
 

Default find category id and parent cat id

I want to add/remove stuff on the product detail page based on the category id

so I have

{if ($current_category.categoryid != 23) } do this

But it's not working

I really need to do this for cat 23 and all it's children. Is there a way to say if "parent category is 23) do this ?

This way client can add more subcats w/o having to change code.

thanks

DonnaNJ
XC4.5
__________________
Version 4.6.1 + Mobile 1.4.1
Reply With Quote