Woocommerce category page: display Products before Subcategories

I looked for a solution for hours but I can't find the solution I looking for... In a new woocommerce installation, I have categories that, at the same level, have both products and subcategories. So, as expected, woocommerce display them on the parent category page: subcategories first and then products. I would "just" swap positions of the two "calls" to display products first and then subcategories. Initially, I thought it would be a simple hack. But having found nothing online I started to think that I'm missing something obvious and I may obtain the desired behavior using standard options?! The website is not public yet but, to give more context, at the moment the page output is

  • subcat1
  • subcat2
  • subcat3
  • prod1
  • prod2
  • prod3

I actually would like to have

  • prod1
  • prod2
  • prod3
  • subcat1
  • subcat2
  • subcat3

If someone can help would be much appreciated! Thank you

1 answer