Sauter la navigation

[Résolu] Views filter on a limited range of options

This support ticket is created Il y a 5 années et 10 mois. 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)

Marqué : 

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Pat Il y a 5 années et 10 mois.

Assisté par: Minesh.

Auteur
Publications
#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

Les langues: Anglais (English )

Fuseau horaire: 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: lien caché
- Or you should try to use custom JS that should help you to remove unwanted options.

#1207837

Pat

Hi Minesh.

Perfect.
Thanks
Pat