News:

Support the VirtueMart project and become a member

Main Menu

Category active and not show in Virtuemart Category Module

Started by pellegrinoL, November 16, 2018, 16:45:05 PM

Previous topic - Next topic

pellegrinoL

Hi,

I am using the Virtuemart Native Category Module in order to show the product category on the website frontend menu.

I would like to know if it is possible to create and activate e category it, but I don't want to show in the module.

I was trying to do i alone.. but I didn't find how to do this kind of option.

Best Regads

GJC Web Design

Hide with css will be the simplest

over ride the template and change the li  from
<li <?php echo $active_menu ?>>

to

<li <?php echo $active_menu ?> id="catid_<?php echo $category->virtuemart_category_id; ?>">

then you can target  li#catid_x with css display:none
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation