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.).