Collapse WooCommerce Product Catagories Accordican

This topic has 4 replies, 3 voices, and was last updated 10 years, 4 months ago ago by Robert Hall

  • Avatar: beckers
    beckers
    Participant
    August 12, 2015 at 18:46

    How can I collapse the WooCommerce Product accordian so that everything is collapsed. There are so many catagories that the list is getting to long.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Participant
    August 12, 2015 at 19:16

    Hello,

    You can close the first category by editing wp-content/themes/royal/js/etheme.js file. Find and comment out line 1722
    $this.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();

    Regards,
    Eva Kemp.

    Avatar: beckers
    beckers
    Participant
    August 12, 2015 at 19:31

    Perfect!
    I had to comment out lines, 1719 through 1723 though to make it work.

    Thank You!

    Avatar: Robert Hall
    Robert Hall
    Participant
    August 12, 2015 at 19:48

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

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

The issue related to '‘Collapse WooCommerce Product Catagories Accordican’' 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.