I am wondering how to display the product main and sub categories in the title header of the page details, similar to a bread crumb navigation. Currently, it only displays the main or sub cats as page title headers.
Let us say I have the main cat "Monitors" which has 2 sub cats "Sony" and "Viewsonic"
Monitors - Sony - Viewsonic
How do I get to display the header page title " MONITOR" when the monitor section is clicked, and "MONITOR / SONY" as header page title when sony is clicked.
Thanks in advance for your help
» Quick.Cart v2.x
compnet
2007-11-12 15:01
Did some digging and found out that $aData[iParent] returns an integer that corresponds to the correct parent category. How to convert the integer to the correct category name?
Any help would be greatly appreciated.
compnet
2007-11-13 08:48
Hi, maybe what i am asking isnt clear. I would simply like to know how to have the main category , followed by the secondary category in the Page header title.
For instance, I have the following MONITORS - Sony - Viewsonic
Then once you are looking at the viewsonic page, the page header title shows "MONITORS / Viewsonic" instead of just displaying Viewsonic as it is currently.
<h2>$aData['iParent'] / $aData[sName]</h2> in contents_details.tpl returns 31 / Viewsonic and I need help to convert the parent category id to it's corresponding name.
Thanks
merci
2007-11-13 09:15
compnet - you should in file index.php after following code: