Support » Plugin: WOOF by Category » The filter is not cleaned after switching

  • Resolved vnzhlv


    Hi again.
    I guess that filters must be cleaned after switching to another category, right? For example:
    This url I got when I chose category ‘cat 2’ and filter ‘gadget’:
    This url I got when I chose category ‘cat 1’:
    And when I chose filter ‘color’:

    That’s why on the last step I get 0 search results in products and I should click reset.

    p.s: I still use 2017 theme and none extra plugins.

    • This topic was modified 1 year, 8 months ago by  vnzhlv.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author kaggdesign



    It was resolved in version 1.3.2 of my plugin. Please visit the test site:

    Hmm.. On this test site it doesn’t work as well.
    Когда я выбираю другую категорию, то фильтры не обнуляются и не удаляются из строки браузера. Соотвественно результаты поиска при таких фильтрах могут быть нулевыми.

    This can be avoided by turning on dynamic recount (In this case plugin will not allow to switch to another category) But I need to be able to switch categories whenever I want and that the filters are removed at the same time.
    p.s: Form AJAX redrawing is Yes in widget options.

    By the way, there are some warnings/notices appear in debug mode. Seems they appear when some filters do not correspond to any product.
    Warning: Invalid argument supplied for foreach() in /…./woof-by-category/woof-by-category.php on line 598

    Plugin Author kaggdesign


    I apologize for a late response. I hope to provide answers by the weekend.

    Meanwhile, could you make a verifiable example, so I can repeat it on my test site. Please describe what are you doing step by step and how results are differ from what do you expect.

    Thnak you.

    • This reply was modified 1 year, 8 months ago by  kaggdesign.

    I place the plugin in a widget form (Form AJAX redrawing – YES).
    Options of WOOF:
    There are 3 categories (Fridges, Phones, TVs)
    Woof by Category Options:
    I set up: cat: Phones -> color: Orange, then I change cat: Fridges -> brand: LG and submit form. I got:

    I expect that I will get this URL:
    But, as you can see, filter color doesn’t disappear.

    What I need is to create “widget” like on this site and I need WOOF plugin only on the main page.

    [ Please do not bump. ]

    • This reply was modified 1 year, 8 months ago by  vnzhlv.
    • This reply was modified 1 year, 8 months ago by  vnzhlv.

    Hello, did you have time to check it?

    Plugin Author kaggdesign


    Hello, unfortunately not. WOOF code with ajax is much more complicated. I didn’t find enough time to analyze it.

    I hope will do it by next weekend…

    Plugin Author kaggdesign


    Hello, I finally did it. New version 1.4 is uploaded. Please check.

    Hello, thank you! Just in time!
    I’ll check everything works fine.

    Plugin Author kaggdesign


    I am glad that plugin satisfies to your needs. You can donate or add the review

    Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘The filter is not cleaned after switching’ is closed to new replies.