Is possible to hide products from a specific category in search view, and if it is how?
Thank you.
any idea?
Did you try unpublishing the category?
Yes the category is unpublished
Products can only be hidden if they themselves are unpublished. See http://forum.virtuemart.net/index.php?topic=120726.0
Yes i know but I use this products with some virtuemart plugins so i cant unpublished them.
It is not possible to hide them?
Natively not in VM if they are published - as it is a very odd and specific request so why would it have been coded?
You would need to hack the product model somehow to exclude them - this si where the search results are produced..
Ok, thank for the information. Any help about the product model hack would be welcome.
It is a very complex file but basically you need to drop the product ids from the result of function getProductListing() around line 1281