Do not show sub categories in the loop on archive-product.php
Currently, the site I am working on uses
archive-product.php run the Woocommerce product loop and 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?