Creating custom facets tick box field

Created on 4 November 2020, over 4 years ago
Updated 11 March 2025, 29 days ago

Hi all,

Would anyone point me in the right direction of how I would go about creating a custom facets field.

Essentially I want to create a tick box, such as "Show me archive products" . But it is a combination of different fields / user permissions / etc... so requires some custom logic.

Is this would be done using a custom widget? Processor or both?

Any ideas would be great!

Cheers!

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Povilas Uogintas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇧🇪Belgium borisson_ Mechelen, 🇧🇪

    I would suggest doing this in Search API instead, do all the logic to insert that property there, so it no longer has to happen at search time in facets.

Production build 0.71.5 2024