This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
Search without category
« on: December 11, 2016, 08:41:15 PM »
Hello. Sorry can you help me remove categories from search field in home page of my site. I want that user search by keyword only without categories Thanks a lot....

*

MB Themes

Re: Search without category
« Reply #1 on: December 11, 2016, 11:11:32 PM »
Open your page via google chrome, press F12, right click on element and click on inspect element. You will see which line in which file is related to this block, so you can hide it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Search without category
« Reply #2 on: December 12, 2016, 05:11:01 AM »
Ok i'll try it thank you very much

Marked as best answer by frosticek on December 12, 2016, 06:33:08 PM
*

Carlos Carcamo

  • ****
  • 105 posts
  • LaKompra.com
Re: Search without category
« Reply #3 on: December 12, 2016, 06:15:43 PM »
Hi, it is pretty easy

Jus go to inc.search.php, look for this code:

Code: [Select]
<?php  if ( osc_count_categories() ) { ?>
          <?php mb_categories_select('sCategory',/* Params::getParam('sCategory'),*/ __('Categorias''zara')); ?>
        <?php  ?>

And removed, or comment like this:

<?php
 /*

<?php  if ( osc_count_categories() ) { ?>
          <?php mb_categories_select('sCategory',/* Params::getParam('sCategory'),*/ __('Categorias', 'zara')); ?>
        <?php  } ?>
*/
?>
LaKompra.com