Search array for Categories Extra Fields

Discussion in 'TemplateCodes' started by marketingsolutions, Sep 25, 2012.

  1. We have a search page on the home page of our website.

    We have a couple of extra fields that we would like to be searchable.

    These are Products & Services, both setup to be searchable when creating the extra fields.

    We have the same extra fields throughout the site so the search is site wide but no matter what I do these fields are not being searched.

    Any help would by much appreciated (I can even pay if required)

    v4.2.0 Developer
  2. Mike-N-Tosh Owner

    Could you be a little more specific about the issue? This must be a customized home page as the only search field in a default installation would be for the descriptions field (e.g. searchtext). So how did you add the extra fields to your search form? Where/how are you processing the search? (e.g. searchresults.php)
  3. Hi Mike

    We are using the global search plugin on the home page, processing the search on searchresults.php

    Currently using TemplateCodes Evo Style System

    Thanks
  4. Mike-N-Tosh Owner

    OK, the Global Search is a third party module made by Template codes, however it does work the same way as the default search page works. By default, search works as an "AND" search. This means that as an example, if you search for: searchtext="beautiful" and category="Cars" and (extra field)color="red" and you click on search ALL of the fields and their values MUST match to find a valid result(s). In other words, it will only show listings that are in the "Cars" category that ALSO have the word "beautiful" AND the color field="red". This is in contrast to a search that works as an "OR" or "AND/OR" search. Like Google where this same search would bring up any web page that contains ANY of those terms.

    Does the same search work in the default advanced search? (yoursite/search.php)
  5. Hi Mike

    If I gave you access and was willing to pay, could you get the search function to work correctly for me.

    I need it to search in the "AND/OR" mode please.

    This is for a search box on the home page only.

    I look forward to your reply.
  6. The default search is also not finding any results yoursite/search.php :(

Share This Page