Hi,
When I use Woocommerce product category widget all categories and under categories automatically active.
I want to deactivate. How can I do it?

This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago ago by Stan Russell
Hi,
When I use Woocommerce product category widget all categories and under categories automatically active.
I want to deactivate. How can I do it?

Hello,
To close first category, edit wp-content/themes/royal/js/etheme.js file. Find and comment out line 1643
$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
Thank you.
Regards,
Eva Kemp.
Hello,
Thank you. I fixed it.
Best,
Yumit
Hello,
you are welcome!
Regards,
Stan Russell.
The issue related to '‘Woocommerce product category widget automatically active’' has been successfully resolved, and the topic is now closed for further responses