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)