I'm having a shop page which has to show on the top level only the categories. I added the setting which hides products if a sub-category is visible. I changed the default post number value to 3 (WP settings) and that works well for the category archives.
The problem is that the number of visible categories on the shop page stays on 4 and I can't change it. It should be three and the pagination links should become visible.
I tried also a filter function that changes the value for
and I changed also the filter value inside the file content-product_cat.php to
$woocommerce_loop['columns'] = apply_filters( 'loop_shop_columns', 3 );
Nothing helps, it seems like all these values are ignored, anyone an idea how to fix that? Is there something I forgot?