News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

A search plugin bug - never seraches category with id 1

Started by Gruz, February 06, 2012, 08:35:01 AM

Previous topic - Next topic

Gruz

VM 2.0.1.d
plugins/search/virtuemart/virtuemart.php

Line 143:
. ' WHERE ' . $where . ' and p.published=1 and b.virtuemart_category_id>1 '
So search doesn't match anything in virtuemart_category_id = 1.
I think the code should be
. ' WHERE ' . $where . ' and p.published=1'

-------

Fixed in newer versions.
Your installable language for VM2: http://gruz.org.ua/virtuemart-language-files.html