VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: alepoudaki on January 22, 2013, 14:56:52 PM

Title: Search Filter Category doesn't work
Post by: alepoudaki on January 22, 2013, 14:56:52 PM
I have activated the option "category search filter" inside my virtuemart search product module, but when I am inside a category and search for a product, I can see products from other categories. The page URL I have my search component is:
http://localhost/MySite/index.php?option=com_virtuemart&view=category&virtuemart_category_id=14&Itemid=119

So my search should be executed inside this category and its subcategories, right? This doesn't work as I can see products which belong to other category...

I read this topic: http://forum.virtuemart.net/index.php?topic=101724.0 , but this line of code is OK in VM 2.0.18a

Using Virtuemart 2.0.18a & Joomla 2.5
Title: Re: Search Filter Category doesn't work
Post by: alepoudaki on January 23, 2013, 10:00:42 AM
I found that in order to work category search filter inside Virtuemart Search Product, the Search Engine Friendly URLs must be enabled!
My problem solved.
Title: Re: Search Filter Category doesn't work
Post by: rjcroasdale on July 17, 2013, 10:03:44 AM
Quote from: alepoudaki on January 23, 2013, 10:00:42 AM
I found that in order to work category search filter inside Virtuemart Search Product, the Search Engine Friendly URLs must be enabled!
My problem solved.

I also had to enable SEF to get the search to work (at least to stop 404 on "search in shop" after using the module)
but
regardless of "Search Filter Category" setting, still searches in current category only.