Remove search box from main catalog page

When you have 'Main Categories' (in the 'Catalog Setup' of the storeadmin area) set to 'Products' or 'Both', the 'Show Products' field in the catalog page is set to a 'Category List', and you view the main catalog page of the site, you will see the following message under the categories:

Keyword(s):
All Words Any Word Exact Phrase
Category:
Price Range:

To remove this text:

  1. Option 1: Change 'Show Products' in the catalog page to something other than 'Category List' (Note: a list of categories will not appear on the main catalog page.)

    - OR -

  2. Option 2: Change 'Main Categories' in the 'Catalog Setup' to 'Categories'. (Note: Only subcategories will appear under a main category - products assigned to that category will now show.)

    - OR -

  3. Option 3: Keep the settings as-is, and instead, modify the files to remove the search box:

    1. Open the catalog.php file in the /enc/ folder.

    2. Find the following code (around line 73):

      if (substr($catalogproducts, 0, 7) == "catlist")
      {
      $Item_Columns = substr($catalogproducts, 7,1);
      include(SB_HOME_PATH ."/" .SB_INC_DIR ."/products_maincat.php");
      include(SB_HOME_PATH ."/" .SB_INC_DIR ."/search.php");
      }
    3. Remove the search.php include, so you have:

      if (substr($catalogproducts, 0, 7) == "catlist")
      {
      $Item_Columns = substr($catalogproducts, 7,1);
      include(SB_HOME_PATH ."/" .SB_INC_DIR ."/products_maincat.php");
      // include(SB_HOME_PATH ."/" .SB_INC_DIR ."/search.php");
      }
    4. Save and reload the file.