There is a small bug in the search plugin that Joomla's search engine sometimes shows unpublished products.
The problem is in the file:
/plugins/search/virtuemart/virtuemart.php
The line:
" WHERE {$where} " .
Must be:
" WHERE ({$where}) " .
When the whole clause "$where" is not enclosed in brackets, according to the search method (exact/all/any), where to look for (description/custom fields) and what is sought sometimes ignored "AND p.published = 1", " AND c.virtuemart_category_id > 0" and shoppergroup.
Great, thank you. Is added.