Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Minimum Number: “6+” not just “6”?

Viewing 10 posts - 1 through 10 (of 12 total)
  • Jayson
    #132201

    Hi,

    We are building a real estate website. We have hundreds of listings with a meta field for the total number of baths …

    cf_bath = 1,2,3,4,5,6,7,8,9,10 etc.

    We want one dropdown for a minimum number of baths (1,2,3,4,5,6,7,8,9,10)

    The issue, if we search “6 baths” we want to show a minimum of “6+” not just listings with only “6” baths.

    Any suggestions?

    PS do you assist with PAID support/work?

    Trevor Moderator
    #132292
    This reply has been marked as private.
    Jayson
    #132355

    Hi, Trevor,

    Thanks for the speedy response, your solution sounds reasonable.

    PS Can I get your contact details? We have a few things we need assistance with and rather then hiring a programmer who doesn’t know this plugin, we would rather hire you? I am more of designer 🙂

    Trevor Moderator
    #132369
    This reply has been marked as private.
    John Shiel
    #194679

    Hi Trevor

    Please can you help?

    I am having the exact same issue ( Reply To: Minimum Number: “6+” not just “6”)

    However, the reply has been marked as private.

    Can you tell me how to fix it please?

    Thanks!

    John

    Trevor Moderator
    #194681

    I will repeat the relevant part of the reply here:

    The current version of our plugin does not support anything other than the equals operator. However, it is possible to emulate that behavior by creating a second field (using, say, ACF) set to default to a very large number (in this case I would guess 20 would suffice?) as the maximum number that could be had in a property.

    Then, you set the search to a range, and then on the form page you add javascript to set that maximum range field to 20 on document load, and also use Custom CSS to hide that field.

    John Shiel
    #194701

    I get it. Clever.
    I’ll give it a go.

    John Shiel
    #194706

    It works, but will it also let me have ‘Bedrooms’ in the field instead of ‘0’ or ‘1’ when the page loads up?

    Trevor Moderator
    #194710

    I am not sure what you mean? Surely the range slider has to have a number? Or do you mean before/after the number (which is a setting in the form design)?

    John Shiel
    #194712

    Also, though the CSS lets me hide BOTH using:

    .sf-field-post-meta-bedrooms .sf-meta-range .select2-selection–single
    {display: none;}

    …which is a step in the right direction, I’m actually having difficulty hiding ONLY the second one yet keeping the first one.

    Any pointers?

    <span class=”select2-selection select2-selection–single” role=”combobox” aria-haspopup=”true” aria-expanded=”false” title=”Beds” tabindex=”0″ aria-labelledby=”select2-_sfm_bedrooms_max-i6-container”><span class=”select2-selection__rendered” id=”select2-_sfm_bedrooms_max-i6-container” title=”90″>90</span><span class=”select2-selection__arrow” role=”presentation”><b role=”presentation”></b></span></span>

Viewing 10 posts - 1 through 10 (of 12 total)

The forum ‘Search & Filter Pro’ is closed to new topics and replies.