Do not show sub categories in the loop on archive-product.php

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)