Reply 239208 to: Some brands dont show in widget filter

Avatar: Olga Barlow
Olga Barlow
Support staff
May 29, 2020 at 09:27

Hello,

This issue is related to the cache of the widgets that WooCommerce plugin added in the last updates. It caches filter widgets and clear the cache after some period hardcoded in WooCommerce plugin files.
We have added the following code to child theme functions.php to disable cache

add_filter( 'woocommerce_layered_nav_count_maybe_cache', function(){
    return false;
} );

Check brands now.

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.