Author Topic: 2.0.7d How to removing the Categories from the Manufacturer View page ?  (Read 20654 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: 27211
  • 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.3.9989 on Joomla 3.9.2 PHP 7.0.33
Testing VM 3.4.3.10014 on Joomla 3.9.2

FrankMarshall

  • Beginner
  • *
  • Posts: 1
  • A beginner
    • Vigrx Plus
  • Skype Name: FrankMarshall
Re: 2.0.7d How to removing the Categories from the Manufacturer View page ?
« Reply #18 on: January 17, 2019, 13:10:59 pm »
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?

Can't say about TerryWashburn, the OP, but I would like to know how to remove from all the views, if possible.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8734
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: 2.0.7d How to removing the Categories from the Manufacturer View page ?
« Reply #19 on: January 17, 2019, 13:18:46 pm »
remove all links to the cat views in all templates ... 
remove any menus
rename the vm views -> category folder to give a 500 error or add a redirect in the components\com_virtuemart\views\category\view.html.php to "somewhere"
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation