How to disable showing sub categories of sub categories in shop archives?

[ad_1]

So I went to – Appearance > WooCommerce > ‘Category Display’ section and chose to show sub categories only (of the parent categories).

Now when the sub category is clicked I want to show all products in that subcategory instead of having another archive of the sub categories OF the chosen sub category.

Example: I have a home appliance shop, WooCommerce shows subcategories every time by default. I want to directly display products on clicking the highest hierarchy subcategory, skipping its subcategories (e.g., Clicking “Cooling and Heating” shows “Air Cons” and “heaters” sub categories, then when clicking “Air Cons” I want it to show all Air Con products, not “Inverter Air Cons”, “Economic Air Cons”, etc.).

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer