Number Ranges Min-Max values

Forums › Forums › Search & Filter Pro › Number Ranges Min-Max values

Tagged: 

Viewing 5 posts – 11 through 15 (of 15 total)
  • Anonymous
    #258142

    Sorry for bashing on the post…

    just a slight improvement of the code would be in this particular case. If no selection is made, then use these values.

    if (!isset($_GET['_sfm_car_engine_size'])) {
      $input_object['default_max']=500000;
      $input_object['default_max_formatted']=500000;
    }
    Anonymous
    #258147

    Yes, it does! So, initially, before triggering the search form, you set it to the max value and then using if (!isset($_GET['option'])) you just ignore it.

    Trevor
    #258161

    Ah, OK, and that works OK for you? Let me know if you think I can close this thread for now?

    Anonymous
    #258340

    Hello again,

    is there a way to calculate the count in ranges?

    Trevor
    #258353

    I cannot think of a way, no.

Viewing 5 posts – 11 through 15 (of 15 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.