WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
can I list only parent categories through the shortcode [product_categories]? (2 posts)

  1. personaraujo
    Member
    Posted 1 year ago #

    Cheers all,

    I'm showing/listing the store categories at my homepage but i want to get rid of child categories at that list. is it possible. is there some shortcode to do that? On what piece of code should I work?

    Thanks!

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

  2. kchayka
    Member
    Posted 1 year ago #

    I figured this out after some hunt and peck/trial and error in the WooCommerce Settings->Catalog

    Check the first 3 boxes under Show subcategories:
    Show on category pages
    Show on the shop page
    hide products

    That second one is completely non-intuitive and sounds like a bug, but it did what I wanted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic