Author Topic: 2.0.7d How to removing the Categories from the Manufacturer View page ?  (Read 19757 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?

TerryWashburn

  • Beginner
  • *
  • Posts: 1
  • A beginner
    • for the phenq review
  • Skype Name: TerryWashburn
Nice but how do you remove them completely?

Sorry for bumping an old thread but I would also like to know how to remove them completely.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27022
  • Always on vacation
    • Jenkin Hill Internet
Not only an old thread but also started with a historic VM version.

What do you mean "remove them completely"? Remove category display from the whole site, in all views, or just in the manufacturer product pages?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12