WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Woocommerce Product Categories Widget (18 posts)

  1. Designs2grow
    Member
    Posted 1 year ago #

    I'm looking for some help using the "Woocommerce Product Categories" widget... If I have 3 main categories each with subcategories and products, how do I go about showing ONLY 2 Categories and its subs for example and filter out the rest?

    Any pointers would be appreciated, thanks!

    http://wordpress.org/extend/plugins/woocommerce/

  2. Simone
    Member
    Posted 1 year ago #

    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

  3. invot
    Member
    Posted 1 year ago #

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

  4. amakan
    Member
    Posted 1 year ago #

    Myself, also trying to figure this out. Thanks ;)

  5. invot
    Member
    Posted 1 year ago #

    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.

  6. colbywhitted
    Member
    Posted 1 year ago #

    #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;

    }

  7. davewgill
    Member
    Posted 1 year ago #

    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....

  8. rod_lee
    Member
    Posted 1 year ago #

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

  9. srninnovations
    Member
    Posted 1 year ago #

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

    Cheers! :)

  10. jessiel9625
    Member
    Posted 11 months ago #

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

  11. Innovnate
    Member
    Posted 9 months ago #

    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?

  12. stathis_k91
    Member
    Posted 9 months ago #

    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

  13. jkaljkal
    Member
    Posted 8 months ago #

    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!

  14. davewgill
    Member
    Posted 8 months ago #

    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;
    }

  15. jkaljkal
    Member
    Posted 8 months ago #

    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!

  16. jennl2
    Member
    Posted 7 months ago #

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

  17. Palexandra
    Member
    Posted 7 months ago #

    @davewill i read what you suggested and it seems to be what i am trying to achive. Could you explain further how to ad a custom menu (where do you do this?- i don't seem to find the Menu Page - im using WP with Woocommerce) i have been trying to display only selected categories on my drop down menu but no luck i think your option might help.

    Davewill or anyone else that might be able to help me with this?

  18. Palexandra
    Member
    Posted 7 months ago #

    Sorry, never mind i found it

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic