WordPress.org

Support

Support » Plugins and Hacks » Woocommerce Product Categories Widget

Woocommerce Product Categories Widget

Viewing 15 replies - 1 through 15 (of 17 total)
  • I too, would like to know how to do this. The WooCommerce product categories plugin is perfect for displaying categories in a drop-down menu, however, I wish I can filter out certain categories and perhaps only show one parent category and its children..

    If anyone can help us with that, whether it be a technical fix, or a plugin alternative.. it would be awesome! :]

    -Simone

    Count me in as well. I’ve been trying to figure this out myself.

    Myself, also trying to figure this out. Thanks 😉

    Well, I may have “kinda” figured this out. I created a page and added some woocommerce shortcode to it.

    [product_category category="THE SLUG" per_page="3" columns="1" orderby="date" order="desc"]

    You can insert multiple categories, including subcategories. just make sure the slug is correct.

    Also, in my page I placed these shortcodes in divs so I can style them uniquely.

    #product_categories-3 .product-categories .cat-item-64, #product_categories-3 .product-categories .cat-item-65, #product_categories-3 .product-categories .cat-item-66, #product_categories-3 .product-categories .cat-item-20, #product_categories-3 .product-categories .cat-item-34, #product_categories-3 .product-categories .cat-item-70{

    display: none;

    }

    Just add a custom menu on the menu page and add in the categories you want to show….(and sub categories if you like)

    Then go to your widget and add in the custom menu…. works great and gives you loads of control over what you can see….

    @davewgill This is what I am looking for! Thank you so much! 🙂

    @davewgill I signed up to wordpress.org just to say thank you, trying to list my categories was doing my head in!

    Cheers! 🙂

    @davewgill nice one dude. you saved a lot of people here. you’re the man

    Innovnate

    @innovnate

    What if you didn’t want to put the menu in a sidebar (or your theme doesnt have them).

    I need to put a menu/dropdown in the content area – is there any way of doing this?

    Hi,

    is it possible to be the selected category always on top?

    for example, i have 100 categories and each one 15-20 subcategories, as is now if select the 55 category you must scroll down to watch the subcategories,

    thanks
    Stathis

    Hello everyone!
    About the WooCommerce Categories Widget:
    Is it possible to have the Categories with their Child products shown in a sidebar in a tree view as well?
    Pretty much like this site : http://www.illyshop.gr/categList.asp?ITMID=4&LANG=EN

    Thanks in advance!

    Hi,

    That is just css styling to make it look like a tree… they have added an image before the product item and not the product heading to give the appearance of tree type. They have used the padding left to push the menu in and then just set a background image for the red line…. code is below.

    #LeftMenu li {
    margin-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    background: transparent url(‘/images/lmLiBgRepeat.gif’) repeat-y top left;
    color: #3c3c3c;
    line-height: 16px;
    }

    davewgill thanks a lot for your answer, It helped a lot!
    I was more looking for the actuall showing of ALL the Categories AND Subcategories by using a widget!

    Stathis_k91 you can reorder your categories using Category Order and Taxonomy Terms Order plugin

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Woocommerce Product Categories Widget’ is closed to new replies.