Can't get Finsweet filter right

Hi,

I am working to impliment Finsweets filter function, but I just cannot seem to get it right…

Your help is much appreciated!


Here is my public share link: LINK
(how to access public share link)

1 Like

Just at a glance, your filter fields don’t appear to match what you’re filtering on.

I’m assuming your trying to build a checkbox filter?
From memory, FS docs require that each checkbox has an attribute, which you’ve done her at [1] and [2].

That exact same attribute needs to exist at [4] so FS knows what to filter on.

Hi Michael,

Thanks for looking into it and your explanatory pictures.

However, I have some questions: What does you mean with the exact same attribute for [4]. That is should be fs-cmsfilter-field = “overnatning” like [2] instead of R-indexed = “overnatning”? I tried that, but no luck. I was wondering if the categories within the elements [3 and 4], need to be in a checkbox too?

Appreciate your help

Maja

Correct, the docs are the best place to go for reference on this. I don’t know what R-indexed is for, but it’s not an FS attribute.

Also look at the demonstrations built into the page, you can see exactly where and how the attributes are placed.