• Resolved prometheusuk

    (@prometheusuk)


    Hi,

    I noticed that since around 10th Feb my feed was containing all of the products that the filters I had set should have been excluding from the feed.. prior to this it worked fine.

    I rolled back the version of the plugin to 9.5.3 and the issue was still there, but when I rolled it back to 9.5.0 the filters started working perfectly again, so the issue must have been introduced in v 9.5.1, 9.5.2 or 9.5.3

Viewing 15 replies - 1 through 15 (of 20 total)
  • Hi,

    Thanks for using our plugin and reaching out to us. Sorry to hear you experienced issues with the filters / rules.

    Can you make a screenshot of the filters you created and explain which ones do not work?

    Thread Starter prometheusuk

    (@prometheusuk)

    Hi,

    Yes, sure.. It seems to be all rules based on various different fields. As I say, they work fine with v9.5.0 and before. I’ve uploaded a screenshot of some of them here – https://ibb.co/6XYB7mK

    ..there are about 15 more filters as well, but they are all the same types and fields as the ones shown.

    Can you please indicate which filters in your screenshot exactly aren’t working so we can try replicating it on our development website?

    Thread Starter prometheusuk

    (@prometheusuk)

    As I say, it’s ALL of them that were not working but ALL are now working that I’ve reverted to v9.5.0

    And for me it’s not work

    Whe i add rule: ‘Author’ is not equal to ‘user_id’, after that i making refresh to feeds, and see that it’s shwoing author products and not skipping it..

    PLEASE help ??

    the author is the name of the author no the user_id. So when you create a filter on it to exclude them make sure you fill in the author name and not id

    Thread Starter prometheusuk

    (@prometheusuk)

    Just to follow this up.. I tried the latest version (9.6.3) as I saw that it mentioned some reverting of some changes in filters etc. so I thought this might have fixed the issue.

    Unfortunately the filters were still ignored in this new version though when I tested it, so I have gone back to an older version again, which works fine. This time though I went back to 9.5.1 rather than 9.5.0 and the filters work perfectly with this version too. The issues therefore seem to have been introduced in v9.5.2 – which would make sense as that update was supposedly to “Fix a minor issue in exclude rules for WooCommerce category names”.. so whatever the changes were in 9.5.2 would seem to be the cause of the filters no longer working (on my site anyway).

    And that is exactly the version we reverted back to for the rules and filters code so theoretically that should have fixed it. Strange thing however is that on our development websites we did not have any issues at all and still don’t so its really hard to solve this when we cant replicate the problem.

    Thread Starter prometheusuk

    (@prometheusuk)

    Hi.. Thanks for the message. Yeah, I can certainly understand that it’s tricky to track down the issue if you can’t replicate it.

    I did some testing myself by deleting all of the filters and recreating them from scratch and also trying them in a different order etc. too.

    I tested the feed at various points of this process (with v9.6.3 of the plugin installed) and found that at some points (with only some of the filters in place) some of them were working, but when I added more filters they stopped working again. I couldn’t find a pattern to when they were working and what caused them to stop though.

    Going back to v 9.5.1 has them all working flawlessly again, so I’m not really any nearer to understanding why they don’t work on v.9.5.2 onwards.

    It’s a shame there isn’t a way to drag and drop the filters to re-order them as that might make it easier to work out what’s going on.. and it would also be quite neat to be able to re-order them to keep things more structured and neat. I guess I’ll just have to stick with using v.9.5.1 for now anyway, unless you manage to figure out what could be impacting them working from v.9.5.2 onwards.

    Thread Starter prometheusuk

    (@prometheusuk)

    I think I may have just hit upon something… I tried a different order for the filters again (with v.9.6.3) and found that if I have it as shown in the image – https://ibb.co/X3FLJ09 – then the first two filters are NOT working still, but the rest are… so everything from the third “Brand (Dynamic attribute)” one onwards is working.

    I tried swapping the second and third ones around and everything from the third one onwards still worked, so it seems to be related to the fact that it is ignoring the “Brand (Dynamic attribute)” filters except for the last one and whatever comes after it.

    Thanks for this break-down and testing. What happens when you remove the first two exclude filters on the Brand field. Do then ALL filters work or again the first two not?

    Thread Starter prometheusuk

    (@prometheusuk)

    I just tested this..

    If I remove one or both of the first two, the filters work from the last of the Brand field ones onwards still.. so if I remove both of the first two Brand ones and leave just the one Brand one they are then all working.

    If I re-add another Brand field filter (which obviously then goes at the bottom of the list) nothing before that filter in the list then works, only the last Brand one that I have just added.

    So basically, it seems that only the filters from the last Brand field filter onwards are working on each occasion… which isn’t a problem if there is only one Brand field filter and this happens to be the first one on the list, but otherwise there will be some filters (the ones before the last Brand field one) that are not working at all.

    • This reply was modified 3 years, 9 months ago by prometheusuk.
    • This reply was modified 3 years, 9 months ago by prometheusuk.
    Thread Starter prometheusuk

    (@prometheusuk)

    I just tested this..

    If I remove one or both of the first two, the filters work from the last of the Brand field ones onwards still.. so if I remove both of the first two Brand ones and leave just the one Brand one they are then all working.

    If I re-add another Brand field filter (which obviously then goes at the bottom of the list) nothing before that filter in the list then works, only the last Brand one that I have just added.

    So basically, it seems that only the filters from the last Brand field filter onwards are working on each occasion… which isn’t a problem if there is only one Brand field filter and this happens to be the first one on the list, but otherwise there will be some filters (the ones before the last Brand field one) that are not working at all.

    https://ibb.co/D9b1Ssz

    Im having the same issue but on all my category exclusions.

    I have only noticed it yesterday when seeing all of our second hand and discontinued products suddenly being indexed on pricespy due the bug in the feed being generated.

    My filter exclude rules for categories are all being ignored and not working.
    I have tested today the latest version saying you reverted the filters, but still not working and is including all the categories im trying to exclude, the SKU exclusions are both working though, its only category exclusions which v9.5.2 says it fixed a bug with but for me it broke it.

    Reverting back to version 9.5.1 before you fixed some exclude rule filtering in 9.5.2 is the only way to resolve this issue I have found yet. It seems since version 9.5.2 this problem has started and the excluding stopped working completely.

    Maybe it nows acts like exclude means include? And changing it to include might make it exclude it.. i can try test it I guess, maybe if I change it to contains instead of exact match, and only use 90% of the category name instead of 100% exact matching it. I will test that shortly in my test environment.

    For now im using v9.5.1 to solve this in my live website.

    • This reply was modified 3 years, 9 months ago by r4productionz.

    Ok i tested using the opposite include only, and i tested using contains with only part of the category names, and still the feed contains all products from the categories I am trying to exclude. Really love this plugin, hope this can be resolved. Seems strange that the latest version reverted the filter changes, and still doesnt start working again like v5.9.1 or earlier 5.8.4 i also tested does work.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Filter rules being ignored – filters not working’ is closed to new replies.