Skip Navigation

[Closed] Can't set a min AND max comparison in filters

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2566881

Tell us what you are trying to do?
I have a CPT "property" with the field "price". I'm trying to enable a filter so that the user can type in a minimum and/or maximum price to return listings:
```
<div class="form-group">
<label>[wpml-string context="wpv-views"]Price from[/wpml-string]</label>
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_min"]
</div>
<div class="form-group">
<label>[wpml-string context="wpv-views"]Price to[/wpml-string]</label>
[wpv-control-postmeta field="wpcf-price" url_param="wpv-wpcf-price_max"]
</div>
```

However, only one field works. When I try to manually add a filter using the Query Filter interface (classic editor), I can only choose the price field once. I cannot choose it a second time to put in a different search option.

What is the link to your site?
hidden link

#2567333

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share admin access details and let me review your filter settings.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

The topic ‘[Closed] Can't set a min AND max comparison in filters’ is closed to new replies.