Announcement

Collapse
No announcement yet.

Search - less than/greater than

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Search - less than/greater than

    I have a variable I want to search on in my products - minimum reading age. If I want the search to find products with a reading age greater than or equal to that, how do I go about it? I've seen the section in the advanced users guide about editing the customsearch.fil file, but that seems to only deal with exact matching (i.e. reading age = whatever the person entered, rather than reading age >= whatever the person entered).

    Thanks in advance for any help...

    Tim

    #2
    Your problem is, search can only find something if it is there. How about changing the values of your customvar to a range (e.g. 6 to 11) and perhaps even using a dropdown search?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      If I was programming it in PHP, say, though, I would be able to set up a condition such as:

      if (variable > amount) {...}

      Comment


        #4
        PHP is run on your desktop and therefore won't work for the Actinic search, or not the way you are talking about. Your best bet is to do as Bill suggests and amend your variables, with a bit of thought I would imagine you can create the same effect.
        Cheers

        David
        Located in Edinburgh UK

        http://twitter.com/mcfinster

        Comment

        Working...
        X