VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: naoko15 on December 30, 2012, 16:10:30 PM

Title: How to hide category view in product details page.
Post by: naoko15 on December 30, 2012, 16:10:30 PM
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 : )
Title: Re: How to hide category view in product details page.
Post by: naoko15 on January 02, 2013, 11:27:42 AM
No one? : (
Title: Re: How to hide category view in product details page.
Post by: naoko15 on January 03, 2013, 22:32:27 PM
I really need help with this, please.  :-\
Title: Re: How to hide category view in product details page.
Post by: PRO on January 03, 2013, 23:00:39 PM
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
Title: Re: How to hide category view in product details page.
Post by: naoko15 on January 04, 2013, 17:14:03 PM
WONDERFUL!! thank you very much PRO : )