Guest Posted May 17, 2009 Share Posted May 17, 2009 Hello! Thanks for dropping in... I am attempting to make the current category a link on the view product page. This is the relevant code in viewProd.tpl <strong>{LANG_DIR_LOC}</strong> {CURRENT_DIR} > {TXT_PRODTITLE} And this is what I believe to be the relevant code in viewProd.inc.php $view_prod->assign("CURRENT_DIR",getCatDir($prodArray[0]['cat_name'],$prodArray[0]['cat_father_id'],$prodArray[0]['cat_id'],$link=TRUE)); At present, Clicking on a product will take you to its page and shows the following at the top: Location: > Category-subcat-is-in > Subcat-the-product-is-in The Category-subcat-is-in is a link to the category the sub-category is in. I want Subcat-the-product-is-in to be a link as well (to the sub-category). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.