VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: jankoo on October 09, 2016, 11:07:33 AM

Title: remove categories from search results
Post by: jankoo on October 09, 2016, 11:07:33 AM
hi.
im using latest vm3 and joomla3.
in search results i got categories before products.. is there any settings how can i change it or hide categories?
or if i need to override layout please let me know where because i find only old topics for old vm.
thx
Title: Re: remove categories from search results
Post by: GJC Web Design on October 09, 2016, 11:21:38 AM
in theory u shouldn't see cats as->
components\com_virtuemart\views\category\tmpl\default.php

if (empty($this->keyword) and !empty($this->category)) {
   ?>
<div class="category_description">
   <?php echo $this->category->category_description; ?>
</div>
<?php
}
Title: Re: remove categories from search results
Post by: HenrikS on April 02, 2020, 17:42:37 PM
Is there any proper fix for this yet?

It is annoying that Categories are shown on top of search results ... and it does not help to set Show Children Category to No .. because then Children Categories are not showing at all on the shop.

Using VM 3.6.11 Build 10289 with VMuiKit 5.2

Many of the posts on the forum regarding this topic are not even answered ... categories should be removed from search results permanently ... people are not searching a shop to see the category list but to see the search result list.