• Hello, I was using the free version of your plugin with no problems but suddenly the widgets are not showing in my sidebar. I’ve tried to fix it looking for the problem in the code and finally I got that it’s a problem with an empty array result from:

    $this->layered_nav_product_ids = array_intersect( $this->unfiltered_product_ids, $this->layered_nav_post__in );

    in class.yith-wcan-frontend.php line 176.

    If i replace it with just

    $this->layered_nav_product_ids = $this->layered_nav_post__in;

    It is showing the filters good but when I paginate or click on any filter they disappear after the web loads.

    $this->unfiltered_product_ids is empty when doing the intersect but I don’t know why :/ If I do a var_dump of its content it is done 4 times inn each page loads and 3 of them it’s null but not the others…

    Any idea of what can be happening? Or how to solve this? Thanks ??

    https://www.ads-software.com/plugins/yith-woocommerce-ajax-navigation/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,

    this problem seems to be solved in latest version of plugin.
    Please, can you test the latest version of Ajax Product Filter and let me know if works ?
    Thanks.
    Have a nice day
    YITH

    Thread Starter javiersr

    (@javiersr)

    Hi, I’m using YITH WC Ajax Product Filter 3.0.8, WordPress 4.6 and WooCommerce 2.6.4. I think those are the lastest versions. My Theme is Venedor, this may be useful too.

    Plugin Author YITHEMES

    (@yithemes)

    Hi, the latest version of Ajax Product Filter is 3.0.9. Please, try to update your copy of product filter plugin and retest your website.
    Let me know if works.
    Have a nice day
    YITH

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Widget not showing due to empty $this->filtered_product_ids’ is closed to new replies.