Hi,
This is not a "issue", it is a "feature". But if you are not happy with it. Then you can eliminate this feature and the search will run the search in the entire store no matter which category you are in.
First of all, check if this file is exist:
/templates/YOUR_TEMPLATE/html/mod_virtuemart_search/index.php
If that file exist in your server, open it. If not then open this PHP file below:
/modules/mod_virtuemart_search/tmpl/index.php
Find this line:
<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0&virtuemart_category_id='.$category_id ); ?>" method="get">
and replace it with this:
<form action="<?php echo JRoute::_('index.php?option=com_virtuemart&view=category&search=true&limitstart=0'); ?>" method="get">
You'll get what you need.
If you like CleanMart and satisfied with the support you have received, please "write a review" on:
flexiblewebdesign.com/Virtuemart-2-Templates/CleanMart
Rate CleanMart and write a couple of sentences to share your experience with the support team. It won't take more than 2 minutes from you but it is
extremely important for us. Thanks in advance!
Regards,
Support