News:

Looking for documentation? Take a look on our wiki

Main Menu

remove categories from search results

Started by jankoo, October 09, 2016, 11:07:33 AM

Previous topic - Next topic

jankoo

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

GJC Web Design

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
}
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

HenrikS

#2
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.