Woocommerce product category widget automatically active

This topic has 4 replies, 3 voices, and was last updated 10 years, 9 months ago ago by Stan Russell

  • Avatar: yumit
    yumit
    Participant
    March 15, 2015 at 02:22

    Hi,

    When I use Woocommerce product category widget all categories and under categories automatically active.

    I want to deactivate. How can I do it?

    3 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    March 16, 2015 at 09:51

    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.

    Avatar: yumit
    yumit
    Participant
    March 16, 2015 at 23:55

    Hello,

    Thank you. I fixed it.

    Best,
    Yumit

    Avatar: stan
    Stan Russell
    Participant
    March 17, 2015 at 15:00

    Hello,

    you are welcome!

    Regards,
    Stan Russell.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Woocommerce product category widget automatically active’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.