Author Topic: 2.0.7d How to removing the Categories from the Manufacturer View page ?  (Read 17045 times)

Maolon

  • Beginner
  • *
  • Posts: 1
  • A beginner
Re: 2.0.7d How to removing the Categories from the Manufacturer View page ?
« Reply #15 on: February 13, 2017, 07:45:26 am »
The above worked for me, awesome!
So the first suggestion does remove it BUT also removes the categories in category view...
The 2nd suggestion removes it ONLY in Manufacteres view, thanks guys, keep up the good instant knockout post work!!!
I'm using VM 3.0.12 on Joomla 3.4.8.

vi /components/com_virtuemart/views/category/tmpl/default.php:
   Replace:
Code: [Select]
if (!empty($this->category->haschildren)) {   With:
Code: [Select]
if (!empty($this->category->haschildren) && !(boolean)JRequest::getVar('virtuemart_manufacturer_id', false)){

Nice but how do you remove them completely?