Do not show sub categories in the loop on archive-product.php
Question
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?
0
archives, categories, loop, woocommerce
3 years
2020-08-24T04:10:24-05:00
2020-08-24T04:10:24-05:00 0 Answers
53 views
0
Leave an answer