Reply 65780 to: WooCommerce – Hide third level categories

Avatar: digitalhoopoe
digitalhoopoe
Participant
May 25, 2015 at 10:42

I comment ou all those lines :

if($this.find('.current-cat.parent-level0, .current-cat, .current-cat-parent').length > 0) {
$this.find('.current-cat.parent-level0, .current-cat-parent').find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
} else {
//$this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();
}

It only show first level category, is there a way to show the second level category and not the third ?

Thank you !

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.