I'm using the Virtuemart search module configured with NO category filter but when I look for a product inside a category, search results are only from the current category I'm browsing.
I'm using Joomla 2.5.9, Virtuemart 2.0.20b and PHP version 5.3.6-13ubuntu3.2. I've tried with Beez 5 template and same result.
Thank you and best regards!
what version of the AIO component are you using?
I'm using AIO component version 2.0.20b.
Thank you!
when you examine the code
in the form
is it adding the category id?
<input type hidden>
This is the form declaration in default.php file (in modules/mod_virtuemart_search/tmpl directory):
<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ); ?>" method="get">
Thank you and best regards!
when you view the source of the webpage
When I view the source of the webpage the form has only this action: "component/virtuemart/search".
Thank you
thats all it has?
Mine has
<input type="hidden" name="option" value="com_virtuemart" />
<input type="hidden" name="view" value="category" />
</form>
Mine has:
<form method="get" action="/component/virtuemart/search">
<div class="searchflush">
<input type="text" onfocus="if(this.value=='Buscar') this.value='';" onblur="if(this.value=='') this.value='Buscar';" value="Buscar" size="20" class="inputboxflush" alt="Buscar" maxlength="20" id="mod_virtuemart_search" name="keyword" style="height:16px;vertical-align :middle;">
</div>
<input type="hidden" value="0" name="limitstart">
<input type="hidden" value="com_virtuemart" name="option">
<input type="hidden" value="category" name="view">
</form>
Thank you
do you have a url?
URL: http://www.mekdes.es/ (http://www.mekdes.es/)
Thank you
have you tested this without sef enabled?
do you have joomla cache turned on?
if so, have you tested without it?
Hi again:
I've tested with SEF and cache disabled.
Thanks again and best regards!
have you tested on another server?
hi PRO :)
Also having issues with Category search filter - finding lots of threads on this, but no solutions for me as yet.
Almost works, but initial search in a category shows only results in that category, on refresh it shows results in all categories; eg url
index.php?keyword=9&limitstart=0&option=com_virtuemart&view=category&virtuemart_category_id=0
I have tried this on two servers now; and various "solutions" from multiple threads.
Thanks for reading
https://forum.virtuemart.net/index.php?topic=112741.msg395942#msg395942
^ maybe fix?
I've tested it on another server and same result.
Thanks and best regards.