VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: pellegrinoL on November 16, 2018, 16:45:05 PM

Title: Category active and not show in Virtuemart Category Module
Post by: pellegrinoL on November 16, 2018, 16:45:05 PM
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
Title: Re: Category active and not show in Virtuemart Category Module
Post by: GJC Web Design on November 16, 2018, 23:05:03 PM
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