WAIT: Query Filter Empty Checkboxes Disappearing on Page Reload

Hi,

I have set up a checkbox query filter for a product Wordpress custom field (not ACF) like this:

When I load the shop page initially the filters show correctly:

image

If I use the text search filter above to limit results the checkbox filter works correctly:

If I then reload the page the empty checkbox results disappear:

image

However, I have another checkbox filter, as you see in the screenshots, which is connected to an ACF field and that works correctly.

Is this a known bug?

Hi @james,

I can’t replicate this locally now :frowning: Can you please give me a link to your website? Then I can test it. I’ll let you know if I’ll need a login as well.

Thanks,
Matej

@Matej I’ve messaged you the local link

Hi @james,

after checking, I think it the same issue as it’s reported here. Basically, you have multiple filters with the same settings - one on desktop and one on mobile. This is currently not supported.

Can you try to remove the mobile or desktop ones so that you keep only one set of filters and try again?

If it will work, then the issue is confirmed and I’ll add this to our task that we already have it.

Let me know,
Matej

I have worked out that this is being caused by using to “s” query parameter on the text search. If I use any other parameter, the other values are not hidden on reload

@Matej The problem happens even if I remove the multiple filters so not related to the other bug

However, if I change the query parameter to be anything other than ‘s’ then another issue happens:

I enter a text search like this and the checkboxes update correctly with AJAX:

image

I select one of the conservation checkboxes and it updates correctly:

image

I then reload the page and the conservation checkboxes show the totals for all products rather than the filtered numbers:

image

This happens with or without the duplicate filters