MixItUp Multifilter won't load

Hey everyone,

I’ve been working with the MixItUp filter, great stuff and very helpful. I got the regular MixItUp to work, and after that, bought Multifilter. Unfortunately, something goes wrong.

I have two filter groups. I have it set up so that in a filter group, it’s set to OR logic, and between the filter groups, it’s set to AND logic. So if the filters are ABC and 123, it’s (A OR B OR C) AND (1 OR 2 OR 3). Turning on filters A, B and 1 would give me everything tagged A1 and B1. However, it seems like the filter logic isn’t applied properly. Turning on filters A, B and 1 gives my everything tagged A, tagged B and tagged 1.

I have two hypotheses as to what is going wrong:

  1. The Multifilter isn’t loading (properly). The regular MixItUp filtering probably can’t distinguish between the two filter groups and just sees it as a big filter group, for which the logic is decided in the custom code by "" and ",". I’ve put it on dropbox and copied the share link so it should have access to it. I also changed dl.dropbox.com to dl.dropboxusercontet.com, like suggested by @sabanna explained here: Mixitup Filtering Stopped working

  2. The filter logic within the filter groups isn’t applied properly. I applied data-logic="or", so it would seem that should be fine. However, changing the filter for the overall logic, in the custom code, has effect, while changing the logic within a filter group has no effect.

I really hope someone is able to help me!

The page where filtering happens is https://cranium-testenvironment.webflow.io/en/services
My read-only link is https://preview.webflow.com/preview/cranium-testenvironment?utm_medium=preview_link&utm_source=dashboard&utm_content=cranium-testenvironment&preview=096b4230279595f614d142a24a43e3e6&mode=preview

Thanks in advance :slight_smile:

Hi, @Tessa!

You did a great job :clap: just one little thing “went wrong”

You need to remove these lines:

35%20AM

This type of MixitUp call is for the simple filtering and in your case (for the multi-dimensional filtering), the code has MixitUp call further with the multifilter option enabled:

03%20AM

After removing that 1st part everything will start work the way you planned :slight_smile:

Cheers,
Anna

1 Like

Anna, you’re an angel! Everything is working as it’s supposed to right now! :smiley:

Thanks a lot!

1 Like