Navigation überspringen

[Gelöst] Views filter on a limited range of options

This support ticket is created vor 5 Jahren, 11 Monaten. There's a good chance that you are reading advice that it now obsolete.

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)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Pat vor 5 Jahren, 11 Monaten.

Assistiert von: Minesh.

Author
Artikel
#1207383

Pat

Hello,

I have created a Views that display the list of products.
Products have a radio custom field that helps to classify (option 1, option 2, option 3).

In my Views, I have created a filter in order the users to be able to sort by the custom field. This filter is a select type. The issue is that I want to use only products having option 1 and option 2 in this list (not option 3 even if there are products matching this value).

Is there a way to make the filter like this?
Regards
Pat

#1207492

Minesh
Supporter

Sprachen: Englisch (English )

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

Hello. Thank you for contacting the Toolset support.

Well - there is two way:
- Either you should display the filter using the manually entered values. Please check this screenshot: versteckter Link
- Or you should try to use custom JS that should help you to remove unwanted options.

#1207837

Pat

Hi Minesh.

Perfect.
Thanks
Pat