VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: nevan on December 27, 2012, 01:51:45 AM

Title: Product Search only searching within categories
Post by: nevan on December 27, 2012, 01:51:45 AM
Merry Xmas everyone.
Joomla 2.5.8   PHP 5.2.17   Vmart 2.0.14
Ive just done some upgrades and the Product Search now only searches within the category that you are in, instead of all categories like it use to.
Ive spent hours trying to find an answer, so if anyone could help it would be appreciated.
Thanks .......... Nev
Title: Re: Product Search only searching within categories
Post by: balai on December 27, 2012, 10:32:52 AM
Hi

I think that the sql query is generated in the file: administrator\components\com_virtuemart\models\product.php
and the function:sortSearchListQuery

So look into that code for solution
Title: Re: Product Search only searching within categories
Post by: Dreeg on April 18, 2013, 17:07:03 PM
Hi all. I have same problem. Anyone solved this problem?
Title: Re: Product Search only searching within categories
Post by: chrlar on April 19, 2013, 00:27:51 AM
Did you try turning off "Search Filter Categories"? Set it to "no" in the module settings.

Worked for us.. :)
Title: Re: Product Search only searching within categories
Post by: Dreeg on April 20, 2013, 17:09:28 PM
Quote from: chrlar on April 19, 2013, 00:27:51 AM
Did you try turning off "Search Filter Categories"? Set it to "no" in the module settings.

Worked for us.. :)

Yes, I have already tried (and still is set to "No") :(
It 's the reason why I have written here.

---
EDIT:
Joomla 2.5.9
Virtuemart 2.0.20b

How can I fix?

---
EDIT #2:
http://forum.virtuemart.net/index.php?topic=105382.msg386511#msg386511