What's new in Customer Journeys?

Connect and learn more!
How to pass both product and category to my facets? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to pass both product and category to my facets?

Received Response
33
Views
2
Comments
edited Nov 28, 2023 4:12PM in General Technical Discussions 2 comments

We are using the standard okcs/Facet widget to give our users filter-options on their searchresults.

When performing a search, we can pass a filter_type with either "category", "product" or "none" as a value.

I have a situation where I want to pass both product and category. Does anyone have experience with that? I guess at this point this will mean we have to cerate a custom-facet or search-widget, to make this possible.

In the url, both the product and category are available as parameters. This looks something like this:

<instance>.custhelp.com/app/results/c/114/facet/CMS-PRODUCT.RN_PRODUCT_118/kw/<searchterm>/...

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!