Get Parent Level
I've got a weird autonav issue. I've got navigation that appears like this:
>>Black Top (Product Detail Page)
>Black Heels (Product Detail Pages)
I've got Product Detail pages that appear on 2nd and 3rd levels. I want the Auto Nav to ONLY display when the Products are on a 3rd level. So the Black Top under Shirts would have a nav (that shows Shirts, bottoms and etc). And the Black Heels under shoes wouldn't display an auto nav because it's on the 2nd level. Does that make sense? I tried playing around with the getCurrentPage, but couldn't wrap my mind around it. I can autonav to display properly but can't figure out how to tell it when to show and when not to.
get the current page, check if the parent cID is 1 if it is its on the second level, if it isn't, then get the parent ID of that page, if its 1 then its the 3rd level.