Shop sub category - by kotek001 - on WordPress WooCommerce support

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

  • Avatar: kotek001
    kotek001
    Participant
    March 11, 2015 at 23:21

    The main page is the online shop http://www.suprememotorcycles.com/

    By Default when you go to that page the CATEGORIES BSA A7-A10 , and subcategories are Expanded (-).

    The customer would like all categories and subcategories to be UNexpanded (+), otherwise the shopper cant see all the categories since the list is big.

    I cant find a setting to do this.
    Can this be done please?

    Thankyou
    Kamal

    3 Answers
    Avatar: stan
    Stan Russell
    Participant
    March 12, 2015 at 09:46

    Hello,

    To close first category, edit ‘wp-content/themes/legenda/js/etheme.js’ file. Find and comment out line 1389:
    etCats.find('>li').first().find('.open-this').html(minusIcon).parent().addClass('opened').find('ul.children').show();

    We recommend you to make this customization in child theme. Please check this link: codex.wordpress.org/Child_Themes

    Regards,
    Stan Russell.

    Avatar: kotek001
    kotek001
    Participant
    March 12, 2015 at 12:39

    Thankyou .
    That works a treat !!
    What a great theme and EXCELLENT Support !!!!
    Kamal

    Avatar: stan
    Stan Russell
    Participant
    March 12, 2015 at 13:30

    You are welcome!

    Regards,
    Stan Russell.

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

The issue related to '‘Shop sub category’' 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.