WooCommerce Show Parent Category Products & Hide Subcategory Products (4 posts)

  1. Naomi
    Posted 2 years ago #

    What I'm trying to achieve is a parent category with products as well as a subcategory also with products. Currently the parent category is displaying all of the products under it and not just it's own products.

    Example of what I'm trying to achieve:

    -Parent Category "Illustration" with print products assigned to it. Page displays the Subcategory thumbnail ONLY (Display type is set to "both".)
    -Sub "Stationary" with card products assigned to it. Display type set to "products".

    Problem page link

    The products are correctly checked under only one single corresponding category or subcategory so that isn't the issue.

    Any thoughts on how this can be achieved?

  2. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Please post in the WooCommerce forum


  3. Naomi
    Posted 2 years ago #

    Hmm odd cause I did... guess not.

  4. WPyogi
    Forum Moderator
    Posted 2 years ago #

    Adding your own brackets doesn't put it on the sub- forum. I removed them because it causes confusion and doesn't do what you're expecting it to do :).

    The brackets are automatic when you post in a sub- forum.

Topic Closed

This topic has been closed to new replies.

About this Topic