Currently, the site I am working on uses archive-product.php to load the Woocommerce product loop and with it, load the content-product.php template part.

However, in my loop, if there are subcategories, they are being displayed in the loop instead of the products, along with with the category image and a 'Find out more' button.

How can I ignore the sub categories and just load 100% pure products for each main category in the loop?

  • WP doesn't do this out of the box, it requires extra code to be added, you should contact your theme vendor for help, 3rd party theme/plugn support is offtopic here, and not in the stacks scope
    – Tom J Nowell
    Aug 24, 2020 at 9:50

1 Answer 1


The answer lies in the Customiser. This setting used to exist in the WooCommerce settings but they moved it into the Customiser at some point.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.