Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hello,

    This may be accomplished by using the ‘advanced_sidebar_menu_taxonomy’ filter.
    If you add this to your active theme’s functions.php file, the Advanced Sidebar Menu Category Widgets will use woocommerce categories.

    add_filter( 'advanced_sidebar_menu_taxonomy', 'asm_use_woo_cats' );
    function asm_use_woo_cats( $taxonomy ){
    	return 'product_cat';
    }

    Enjoy!

    Thread Starter Mattw1000

    (@mattw1000)

    Thanks Mat, that worked perfectly.

    Just have a couple more queries please…

    currently if i click on a parent category, that category and all of its children turn to green (my themes colour for selected items). Its a little confusing where you currently are so is there some code to….

    Have only the Parent category switch to the highlight colour when you are on that page and the children and grandchildren all remain unselected, and then when you click on one of the children or grandchildren, only the one you have clicked goes the select colour rather than all of the other children and grandchildren please. So i guess basically to sum it up, only the page you are on, is the highlight colour please?

    and is there some css code to put a 1px box around the whole category widget please?

    can i grab some code to increase the font size and line spacing a little please, just looks a bit small on my site.

    Thanks!

    Thread Starter Mattw1000

    (@mattw1000)

    Sorry just another question please after playing around with the plug in more…

    Is there any way of mixing the two options, pages and woocommerece categories please?

    I’m just wondering if for example i can have the Parent being a standard page(and not a category page anymore) and then then the children and grandchildren as categories?

    I’m trying to do this to reduce the amount of category levels i have to help with shorter urls.

    Hope that makes sense, but I’m guessing it might not be possible?

    Thread Starter Mattw1000

    (@mattw1000)

    Hey Mat,

    Just wanted to check if you saw these extra questions please? Sorry to chase just really keen to get my categories set up and want to know if this other option is possible first.

    Thanks

    Plugin Author Mat Lipe

    (@mat-lipe)

    Hello,

    The ability to have the parent be a page and the children at categories is not possible without some seriously creative coding/extending. You might be able to find a developer who can do it for you but it’s beyond what I can instruct through a forum thread.

    I’m a bit backed up at the moment but if I can find some time I will circle back and help you with your theme’s styles. If you could post a link to your site so I have something to go off of that will help quite a bit.

    Cheers.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Does it work for Woocommerce Categories?’ is closed to new replies.