Hey everyone, I'm in a bit of a jam and really need your expertise! I have a webpage (https://intersportbenefit.sk/sport-a-priroda/outdoor/) where I'm trying to implement some filters. Everything seems to be working well, except when I try to filter by "Liptov a okolie" and "Žilinský kraj". It filters out products that it shouldn't, and I'm at my wit's end trying to figure out why this is happening. I've looked through my filters and even removed tags, creating custom fields, but nothing seems to work. I found out that loading more products on two subpages seems to be causing the problem, but I don't understand why. Can someone please help me sort this out?
3 Answers
You might want to check your string comparisons. Since "Žilinský kraj" starts with a special character, it could be messing up your filters. If you're using JavaScript, try using the `localeCompare()` function for your string comparisons. It might help get around the issues with special characters!
It's good that you pinpointed the problem to when loading more products. That often causes issues with pagination and filtering. Mind sharing some code snippets with us? It would help a lot to see exactly what you're working with!
Just something to consider, but you might need to put a comma between 'target' and '_blank' in your jQuery selector. Small coding errors can sometimes lead to weird behaviors.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads