Developer forum

Forum » Ecommerce - Standard features » Combine facets

Combine facets

Siv Hansen
Siv Hansen
Reply

A client of mine have facets Dimentions, with 101 options, and each of them with 1 product to that filter.

Earlier, I've heard that it is possible to combine filters (the example provided was colors, so that shades of red could be categorised as "red" and in my case, Dimentions could go in intervals.

I've tried to search the doc-site for "combining facets", with no luck. Could you please provide me with a direction or even better - a link to the documentation that explains combining filters?

 

(The client has PIM too)


Replies

 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi Siv,

 

One way to achieve this is with List Facets https://doc.dynamicweb.com/get-started/introduction/requirements/requirements-dw9#1546

 

You could potentially do the same by comma splitting the values instead of duplicating the labels as the documentation.

 

Best Regards,

Nuno Aguiar

 
Siv Hansen
Siv Hansen
Reply

Your link is to DW 9 requirements. Not sure if that's the one you intended to post. I tried searching for "List Facets" on the doc-site, but cannot find it anywhere :/

 
Nicolai Pedersen
Reply

https://doc.dynamicweb.com/documentation-9/indexing/indexing-search/facets#sideNavTitle1-2

You can search in upper right corner of the documentation portal.

BR Nicolai

 
Siv Hansen
Siv Hansen
Reply

Thanks. Is it possible to create a range filter on strings? I'd say no, but just double checking.

 
Nicolai Pedersen
Reply

It should be possible - just try it.

But - it is string comparison and not numeric, so you have situations like 19 vs 111. 111 is lower than 19 in string comparison, but not in numeric.

See this: https://doc.dynamicweb.com/documentation-9/how-tos/general/implementing-a-pricerange-query

 

You must be logged in to post in the forum