News:

Support the VirtueMart project and become a member

Main Menu

How to hide category view in product details page.

Started by naoko15, December 30, 2012, 16:10:30 PM

Previous topic - Next topic

naoko15

Hello, i need to know how can i remove category view from the product details layout. Child category images are being displayed under product details and i need to remove them, or to be able to make the layout not load them, as i have quite a few of those.

I'd really appreciate the help. I'm using Joomla 2.5 and Virtuemart 2.0.12f

Thanks in advance : )


naoko15


PRO

to remove the "child categories" from ONLY the product page

do a template override
http://forum.virtuemart.net/index.php?topic=90935.0

productdetails/default.php

REMOVE
// Show child categories
    if (VmConfig::get('showCategory', 1)) {
   echo $this->loadTemplate('showcategory');
    }

OR, if you NEVER want child cats to show, even on category page. You turn off "children category" in vmart configuration

naoko15