• Resolved andersi913

    (@andersi913)


    Is there a feature in woocommerce to change what products is shown in the productloop when in a main category to also show all sub/child-categoriy products?

    Example could be: main category “cloth” has childcategories “t-shirt” and “pants” when i then click as a customer on “cloth” it should also show products from “t-shirt” and “pants” in the productloop. 🙂

    If no can you provide a function i can use for it?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    There is a setting for displaying child category products on parent category page: Products > Categories > [Your Parent Category (cloth)] > Display Type > Products.

    Thread Starter andersi913

    (@andersi913)

    I am already using it like that but then it only show products from the parent category (cloth) not the children category products..

    Thread Starter andersi913

    (@andersi913)

    The parent category does not show products from the child categories..

    Hi,

    Ok, let’s check it it’s caused by your theme or plugins – could you temporarily switch your theme to Storefront and disable all plugins except for WooCommerce. If that resolves the issue, then re-enable plugins one-by-one until you find the one that’s causing the conflict.

    Hi @andersi913

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Show subcategory products when in main category’ is closed to new replies.